summaryrefslogtreecommitdiffstats
path: root/runtime/sym.c
diff options
context:
space:
mode:
authorwenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com>2008-04-13 22:50:18 -0400
committerwenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com>2008-04-13 22:50:18 -0400
commitbd10b81c06a0102ac10617da2f368fcc168fc15e (patch)
tree07c4878e3eaf77801d5104c2f6c498cfff9e3bbd /runtime/sym.c
parentd58c66bfef5cfa7267ced03db11928fd5c78ba9c (diff)
parentf7e07777e033e580351dc6886ab7dbdddd9839fe (diff)
downloadsystemtap-steved-bd10b81c06a0102ac10617da2f368fcc168fc15e.tar.gz
systemtap-steved-bd10b81c06a0102ac10617da2f368fcc168fc15e.tar.xz
systemtap-steved-bd10b81c06a0102ac10617da2f368fcc168fc15e.zip
Merge branch 'master' of ssh://wenji@sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/sym.c')
-rw-r--r--runtime/sym.c6
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;
}
}