diff options
author | Martin Hunt <hunt@monkey.(none)> | 2008-04-15 21:10:34 -0400 |
---|---|---|
committer | Martin Hunt <hunt@monkey.(none)> | 2008-04-15 21:10:34 -0400 |
commit | 4f7a75f2cb3394290d1093a031546aa848ace929 (patch) | |
tree | 081546c0cd685ed58bc90c4903a7d954415300bf /runtime/sym.c | |
parent | 8558d3925ee2931b654a19f243bfa8b3be0bfc12 (diff) | |
download | systemtap-steved-4f7a75f2cb3394290d1093a031546aa848ace929.tar.gz systemtap-steved-4f7a75f2cb3394290d1093a031546aa848ace929.tar.xz systemtap-steved-4f7a75f2cb3394290d1093a031546aa848ace929.zip |
2.6.25 fixes and stack level limits.
Diffstat (limited to 'runtime/sym.c')
-rw-r--r-- | runtime/sym.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/sym.c b/runtime/sym.c index 3d5ff01d..7163bf92 100644 --- a/runtime/sym.c +++ b/runtime/sym.c @@ -223,8 +223,7 @@ void _stp_symbol_print(unsigned long address) } /* Like _stp_symbol_print, except only print if the address is a valid function address */ - -void _stp_func_print(unsigned long address, int verbose, int exact) +int _stp_func_print(unsigned long address, int verbose, int exact) { char *modname; const char *name; @@ -247,7 +246,9 @@ void _stp_func_print(unsigned long address, int verbose, int exact) _stp_printf(" %p : %s+%#lx/%#lx%s\n", (int64_t) address, name, offset, size, exstr); } else _stp_printf("%p ", (int64_t) address); + return 1; } + return 0; } void _stp_symbol_snprint(char *str, size_t len, unsigned long address) |