diff options
| author | Yang Yingliang <[email protected]> | 2022-08-26 15:33:36 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-11 21:55:11 -0700 |
| commit | cef9f5f866ad45a2dd64fed6e6b657043c2c6f17 (patch) | |
| tree | a99255bc2ae6e0f591b0bd4dd7e75025859a91f7 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | f81259c6dbcefb255fa473090cd975f3827bca89 (diff) | |
fail_function: refactor code of checking return value of register_kprobe()
Refactor the error handling of register_kprobe() to improve readability.
No functional change.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Yang Yingliang <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions