diff options
| author | Yang Jihong <[email protected]> | 2024-08-06 10:35:33 +0800 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2024-08-16 19:31:15 -0300 |
| commit | 6bdf5168b6fb19541b0c1862bdaa596d116c7bfb (patch) | |
| tree | 852473fdc086bbe79fd8f83941658b5266f7a06b /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | b53f20b323ee3c5daa5494ad69e3ae0e77cfd82a (diff) | |
perf sched timehist: Fix missing free of session in perf_sched__timehist()
When perf_time__parse_str() fails in perf_sched__timehist(),
need to free session that was previously created, fix it.
Fixes: 853b74071110bed3 ("perf sched timehist: Add option to specify time window of interest")
Signed-off-by: Yang Jihong <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions