diff options
| author | Yang Yingliang <[email protected]> | 2022-08-26 15:33:37 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-11 21:55:11 -0700 |
| commit | d2e85432a2e0a6f31bd9489800f443228f020ed6 (patch) | |
| tree | 06a9d500826ffe0e67fdd5fe0ce85ad372d6904c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | cef9f5f866ad45a2dd64fed6e6b657043c2c6f17 (diff) | |
fail_function: fix wrong use of fei_attr_remove()
If register_kprobe() fails, the new attr is not added to the list yet, so
it should call fei_attr_free() intstead.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 4b1a29a7f542 ("error-injection: Support fault injection framework")
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