diff options
-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; |