diff options
author | Frank Ch. Eigler <fche@elastic.org> | 2008-03-25 11:32:58 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2008-03-25 11:32:58 -0400 |
commit | aaf2af3e3b0c159a64609c82811662d7253c3a96 (patch) | |
tree | 6483a96d2adabed2f34508a02882ca9d2de22b01 /runtime/sym.c | |
parent | 481963c741b440fec7724426f12b268cfad199b3 (diff) | |
download | systemtap-steved-aaf2af3e3b0c159a64609c82811662d7253c3a96.tar.gz systemtap-steved-aaf2af3e3b0c159a64609c82811662d7253c3a96.tar.xz systemtap-steved-aaf2af3e3b0c159a64609c82811662d7253c3a96.zip |
rebased unwind_branch on top of current master
Diffstat (limited to 'runtime/sym.c')
-rw-r--r-- | runtime/sym.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/sym.c b/runtime/sym.c index 3c2f859a..3d5ff01d 100644 --- a/runtime/sym.c +++ b/runtime/sym.c @@ -33,7 +33,7 @@ unsigned long _stp_module_relocate(const char *module, const char *section, unsi return 0; } - dbug(DEBUG_SYMBOLS, "%s, %s, %lx\n", module, section, offset); + dbug_sym(1, "%s, %s, %lx\n", module, section, offset); STP_RLOCK_MODULES; if (!module || !strcmp(section, "") /* absolute, unrelocated address */ @@ -47,7 +47,7 @@ unsigned long _stp_module_relocate(const char *module, const char *section, unsi if (!strcmp(module, last->name) && !strcmp(section, last_sec->symbol)) { offset += last_sec->addr; STP_RUNLOCK_MODULES; - dbug(DEBUG_SYMBOLS, "offset = %lx\n", offset); + dbug_sym(1, "offset = %lx\n", offset); return offset; } } @@ -72,7 +72,7 @@ unsigned long _stp_module_relocate(const char *module, const char *section, unsi if (!strcmp(section, last_sec->symbol)) { offset += last_sec->addr; STP_RUNLOCK_MODULES; - dbug(DEBUG_SYMBOLS, "offset = %lx\n", offset); + dbug_sym(1, "offset = %lx\n", offset); return offset; } } |