This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: exercising current aarch64 kprobe support with systemtap


David Long <dave.long@linaro.org> writes:

> [...]
>> - bug_handler() calls report_bug() which calls __warn()
>> - __warn() does lot of pr_warn()  which invokes print_worker_info()
>> where we have a kprobe instrumented.
>> - Therefore, we are encountering this issue.
>> [...]
> It sounds like the only fix would be to expand the blacklist to any
> function that could be called in a debug exception-handling context? [...]

The kernel maintains its own blacklist by means of designating some
low-level functions with the "__kprobes" attribute.  That protects
those regions of code from "perf probe"-directed kprobes too. 

- FChE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]