summaryrefslogtreecommitdiffstats
path: root/runtime/sym.c
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2008-04-14 12:53:38 -0500
committerDavid Smith <dsmith@redhat.com>2008-04-14 12:53:38 -0500
commitff82a2ca27f4fd0086a911656017e3b912778525 (patch)
tree17d6946329f0e52b2201bd1fcda52d2069a731fd /runtime/sym.c
parent43807f81b6365864e047583eaebe5e85588c7b36 (diff)
parent775d51e5fb2f379fe4ae15dcbae8b17e4eab8805 (diff)
downloadsystemtap-steved-ff82a2ca27f4fd0086a911656017e3b912778525.tar.gz
systemtap-steved-ff82a2ca27f4fd0086a911656017e3b912778525.tar.xz
systemtap-steved-ff82a2ca27f4fd0086a911656017e3b912778525.zip
Merge branch 'master' of ssh://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;
}
}