From 798d60a56ae314c9a8fb963913987c964ae0890a Mon Sep 17 00:00:00 2001 From: hunt Date: Thu, 8 Sep 2005 16:41:04 +0000 Subject: 2005-09-08 Martin Hunt * scf/scf.c (inst_smp_call_function): Add new verbose arg to _stp_stack_sprint() call. --- runtime/probes/ChangeLog | 5 +++++ runtime/probes/scf/scf.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'runtime') 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 + + * scf/scf.c (inst_smp_call_function): Add new verbose arg + to _stp_stack_sprint() call. + 2005-08-31 Martin Hunt * 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; -- cgit