diff options
| author | Ian Rogers <[email protected]> | 2023-04-06 06:52:24 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2023-04-07 00:40:53 +0000 |
| commit | 0ea8920e86e3232c56dc812c1f363fd20fce46c6 (patch) | |
| tree | 4a09957433e13ba97fd7c2490d50f60de119b1c0 /tools/perf/util/scripting-engines/trace-event-python.c | |
| parent | perf pmu: Make parser reentrant (diff) | |
| download | kernel-0ea8920e86e3232c56dc812c1f363fd20fce46c6.tar.gz kernel-0ea8920e86e3232c56dc812c1f363fd20fce46c6.zip | |
perf pmu: Fix a few potential fd leaks
Ensure fd is closed on error paths.
Signed-off-by: Ian Rogers <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Gaosheng Cui <[email protected]>
Cc: German Gomez <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: James Clark <[email protected]>
Cc: Jing Zhang <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ravi Bangoria <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sean Christopherson <[email protected]>
Cc: Suzuki Poulouse <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions
