diff options
author | hunt <hunt> | 2005-08-31 18:45:05 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-08-31 18:45:05 +0000 |
commit | 66c2c709aea4f049513c02b5f7c6174f1b7a50e8 (patch) | |
tree | ce1c70fa1a1cd357970792cc2409fa49c386da75 /runtime/runtime.h | |
parent | 5a90d39d40a4360db4715408190aee558dbc3813 (diff) | |
download | systemtap-steved-66c2c709aea4f049513c02b5f7c6174f1b7a50e8.tar.gz systemtap-steved-66c2c709aea4f049513c02b5f7c6174f1b7a50e8.tar.xz systemtap-steved-66c2c709aea4f049513c02b5f7c6174f1b7a50e8.zip |
2005-08-31 Martin Hunt <hunt@redhat.com>
* runtime.h (init_module): Include full prototype
info in function cast to satisfy stap.
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r-- | runtime/runtime.h | 3 |
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(); } |