diff options
author | hunt <hunt> | 2005-09-08 16:41:04 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-09-08 16:41:04 +0000 |
commit | 798d60a56ae314c9a8fb963913987c964ae0890a (patch) | |
tree | d2b50becce261ab613d3f0c59e37d912e65feb56 | |
parent | 323904e03a3a62dba98a95e75bb6193b1c12f5b8 (diff) | |
download | systemtap-steved-798d60a56ae314c9a8fb963913987c964ae0890a.tar.gz systemtap-steved-798d60a56ae314c9a8fb963913987c964ae0890a.tar.xz systemtap-steved-798d60a56ae314c9a8fb963913987c964ae0890a.zip |
2005-09-08 Martin Hunt <hunt@redhat.com>
* scf/scf.c (inst_smp_call_function): Add new verbose arg
to _stp_stack_sprint() call.
-rw-r--r-- | runtime/probes/ChangeLog | 5 | ||||
-rw-r--r-- | runtime/probes/scf/scf.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/runtime/probes/ChangeLog b/runtime/probes/ChangeLog index 657cd5ab..964262f4 100644 --- a/runtime/probes/ChangeLog +++ b/runtime/probes/ChangeLog @@ -1,3 +1,8 @@ +2005-09-08 Martin Hunt <hunt@redhat.com> + + * scf/scf.c (inst_smp_call_function): Add new verbose arg + to _stp_stack_sprint() call. + 2005-08-31 Martin Hunt <hunt@redhat.com> * Makefile.template: Remove KTA, KALLSYMS_LOOKUP, diff --git a/runtime/probes/scf/scf.c b/runtime/probes/scf/scf.c index 5afbb92e..b8e38318 100644 --- a/runtime/probes/scf/scf.c +++ b/runtime/probes/scf/scf.c @@ -1,4 +1,3 @@ -#define STP_NETLINK_ONLY #define STP_NUM_STRINGS 1 #include "runtime.h" @@ -21,7 +20,7 @@ MAP map1; int inst_smp_call_function (struct kprobe *p, struct pt_regs *regs) { String str = _stp_string_init (0); - _stp_stack_sprint (str,regs); + _stp_stack_sprint (str,regs,1); _stp_map_key_str(map1, _stp_string_ptr(str)); _stp_map_add_int64 (map1, 1); return 0; |