Re: [PATCH] tracing/kprobes: Add missing check for skipping symbol counting logic

2024-07-05 Thread Google
Hi Nikolay, Thanks for the patch! But this remind me that I forgot to send a patch which can solve this issue more generically. https://lore.kernel.org/all/171338679446.616570.14456856697191949345.stgit@devnote2/ Why I did not send it...? Anyway let me send the update. Thank you, On Thu, 4 J

[PATCH] tracing/kprobes: Add missing check for skipping symbol counting logic

2024-07-04 Thread Nikolay Kuratov
In commit b022f0c7e404 ("tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols") it was already done for symbol in __trace_kprobe_create(), but func in create_local_trace_kprobe() is also valid usage. Not doing so leads to ENOENT for module_name:symbol_name constructions passed ov