summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/sym.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/sym.c b/runtime/sym.c
index 5e5ed7b8..35fb3cb0 100644
--- a/runtime/sym.c
+++ b/runtime/sym.c
@@ -335,9 +335,10 @@ static void _stp_symbol_print(unsigned long address)
static void _stp_usymbol_print(unsigned long address, struct task_struct *task)
{
- const char *modname;
- const char *name;
- unsigned long offset, size;
+ const char *modname = 0;
+ const char *name = 0;
+ unsigned long offset = 0;
+ unsigned long size = 0;
name = _stp_kallsyms_lookup(address, &size, &offset, &modname, NULL,
task);