This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [RFC][Revised Patch 2/5] New Probe family : probe kprobe.function()
- From: Prerna Saxena <prerna at linux dot vnet dot ibm dot com>
- To: systemtap at sourceware dot org
- Cc: "Frank Ch. Eigler" <fche at redhat dot com>
- Date: Sun, 19 Apr 2009 23:32:30 +0530
- Subject: Re: [RFC][Revised Patch 2/5] New Probe family : probe kprobe.function()
- References: <49EB61E1.6060302@linux.vnet.ibm.com>
This patch addresses changes to class systemtap_session to include new
probe group "kprobe_derived_probe_group".
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
Index: git-24-mar/session.h
===================================================================
--- git-24-mar.orig/session.h
+++ git-24-mar/session.h
@@ -30,6 +30,7 @@ struct functiondecl;
struct derived_probe;
struct be_derived_probe_group;
struct dwarf_derived_probe_group;
+struct kprobe_derived_probe_group;
struct uprobe_derived_probe_group;
struct utrace_derived_probe_group;
struct itrace_derived_probe_group;
@@ -159,6 +160,7 @@ struct systemtap_session
// session.probes vector.
be_derived_probe_group* be_derived_probes;
dwarf_derived_probe_group* dwarf_derived_probes;
+ kprobe_derived_probe_group* kprobe_derived_probes;
uprobe_derived_probe_group* uprobe_derived_probes;
utrace_derived_probe_group* utrace_derived_probes;
itrace_derived_probe_group* itrace_derived_probes;
Index: git-24-mar/elaborate.cxx
===================================================================
--- git-24-mar.orig/elaborate.cxx
+++ git-24-mar/elaborate.cxx
@@ -1441,6 +1441,7 @@ systemtap_session::systemtap_session ():
user_file (0),
be_derived_probes(0),
dwarf_derived_probes(0),
+ kprobe_derived_probes(0),
uprobe_derived_probes(0),
utrace_derived_probes(0),
itrace_derived_probes(0),