diff options
| author | Jiri Olsa <[email protected]> | 2021-10-08 11:13:34 +0200 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2021-10-21 14:19:00 -0400 |
| commit | f64dd4627ec6edc39bf1430fe6dbc923d2300a88 (patch) | |
| tree | 6af01b2cbd462474a3d4080c7fbacf58f7409427 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 1904a8144598031af85406873c5fbec806ee3fd7 (diff) | |
ftrace: Add multi direct register/unregister interface
Adding interface to register multiple direct functions
within single call. Adding following functions:
register_ftrace_direct_multi(struct ftrace_ops *ops, unsigned long addr)
unregister_ftrace_direct_multi(struct ftrace_ops *ops, unsigned long addr)
The register_ftrace_direct_multi registers direct function (addr)
with all functions in ops filter. The ops filter can be updated
before with ftrace_set_filter_ip calls.
All requested functions must not have direct function currently
registered, otherwise register_ftrace_direct_multi will fail.
The unregister_ftrace_direct_multi unregisters ops related direct
functions.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions