[Bug runtime/30415] conflicting types for ‘kallsyms_on_each_symbol’
wcohen at redhat dot com
sourceware-bugzilla@sourceware.org
Tue May 9 19:23:54 GMT 2023
https://sourceware.org/bugzilla/show_bug.cgi?id=30415
William Cohen <wcohen at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wcohen at redhat dot com
--- Comment #3 from William Cohen <wcohen at redhat dot com> ---
This issue looks to be related to the upstream change in the kernel for
kallsyms_on_each_symbol:
commit 3703bd54cd37e7875f51ece8df8c85c184e40bba
Author: Zhen Lei <thunder.leizhen@huawei.com> 2023-03-08 02:38:46
Committer: Luis Chamberlain <mcgrof@kernel.org> 2023-03-19 16:27:19
Parent: 7ce93729091dff24e6a1c3578b58b36f4b1cf10a (dyndbg: cleanup dynamic usage
in ib_srp.c)
Child: 3c17655ab13704582fe25e8ea3200a9b2f8bf20a (module/decompress: Never use
kunmap() for local un-mappings)
Branches: master, remotes/origin/master, remotes/origin/x86-uaccess-cleanup
Follows: v6.3-rc1
Precedes: v6.4-rc1
kallsyms: Delete an unused parameter related to
{module_}kallsyms_on_each_symbol()
The parameter 'struct module *' in the hook function associated with
{module_}kallsyms_on_each_symbol() is no longer used. Delete it.
Suggested-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
new kernels have in include/linux/kallsyms.h:
int kallsyms_on_each_symbol(int (*fn)(void *, const char *, unsigned long),
void *data);
old kernels (<6.4) in include/linux/kallsyms.h:
int kallsyms_on_each_symbol(int (*fn)(void *, const char *, struct module *,
unsigned long),
void *data);
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list