summaryrefslogtreecommitdiffstats
path: root/runtime/runtime.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r--runtime/runtime.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h
index 6189a92c..b0fc5b5d 100644
--- a/runtime/runtime.h
+++ b/runtime/runtime.h
@@ -73,7 +73,8 @@ int probe_start(void);
int init_module (void)
{
_stp_kta = (int (*)(unsigned long))kallsyms_lookup_name("__kernel_text_address");
- _stp_kallsyms_lookup = (const char * (*)())kallsyms_lookup_name("kallsyms_lookup");
+ _stp_kallsyms_lookup = (const char * (*)(unsigned long,unsigned long *,unsigned long *,char **,char *))
+ kallsyms_lookup_name("kallsyms_lookup");
return _stp_transport_init();
}