This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 892
  Kprobes: Multiple probes Last modified: 2005-07-12 14:47:52
     Query page      Enter new bug
Bug#: 892   Hardware:   Reporter: E. Zannoni <ezannoni@redhat.com>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: Ananth Mavinakayanahalli <ananth@in.ibm.com>   Target Milestone:  
Summary:
Keywords:

Attachment Description Type Created Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 892 depends on: Show dependency tree
Show dependency graph
Bug 892 blocks: 912

Additional Comments:


Leave as RESOLVED FIXED
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2005-04-29 18:42
Prototype posted to lkml. Going with one interface.

------- Additional Comment #1 From Ananth N Mavinakayanahalli 2005-05-03 17:40 -------
Patch now in Andrew Morton's -mm tree. Should be part of 2.6.12-rc3-mm3

------- Additional Comment #2 From Ananth N Mavinakayanahalli 2005-05-05 18:42 -------
This bug relates to the enhancement work that is required to enable multiple
kprobes to be registered at a given address. This feature is required since
different users may want different data to be extracted at a given location.

The patch that is currently upstream (2.6.12-rc3-mm3) provides an architecture
agnostic implementation for supporting the registration of multiple kprobes at
the address. It provides for a "manager" kprobe that will have custom
(pre-post-fault) handlers that have in them the logic of walking a list of
kprobes and invoking the individual handlers (execpt in the case of a fault
handler, where only the fault handler corresponding to the kprobe that generated
the fault is invoked).

Note that a jprobe can't coexist with a kprobe (yet).

------- Additional Comment #3 From Ananth N Mavinakayanahalli 2005-06-14 15:41 -------
Status as of 14 June:

- The multiple kprobes support patch is now in the mainline
- Patch to allow a jprobe to coexist with kprobes is in -mm (2.6.12-rc6-mm1)

Note: Due to the new no-exec feature that has been added upstream for ppc64,
multiple probes is currently broken on POWER4 and above. Working with arch
maintainer to resolve the issue.

------- Additional Comment #4 From Ananth N Mavinakayanahalli 2005-06-24 13:08 -------
This isn't an issue as far as RHEL4-U2 is concerned as linux-2.6.9 (off which
RHEL4 kernels are based) doesn't have no-execute support for ppc64.

Also submitted a patch on 17 June to use existing x86_64 code to allocate
executable scratch pages for out of line singlestepping. This patch will show up
in the next -mm.

------- Additional Comment #5 From Ananth N Mavinakayanahalli 2005-07-12 14:47 -------
All patches to provide this feature are upstream - Andrew pushed the single-step
out of line patch to Linus on 23 June.

Closing this bug.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In