diff options
author | Ian Rogers <[email protected]> | 2022-10-24 11:19:10 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-11-03 09:36:32 -0300 |
commit | 057929f9d083e80c9b30c324add69d2054ca6d82 (patch) | |
tree | b798d9c5fcb8e63bd6f6154be93132a2735b892f /lib/memory-notifier-error-inject.c | |
parent | 853596fb71f7c2f7ff0de7b13f09d6598d4d56cd (diff) |
perf session: Change type to avoid undefined behaviour in a signal handler
The 'session_done' variable is written to inside the signal handler of
'perf report' and 'perf script'. Switch its type to avoid undefined
behavior.
Signed-off-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexey Bayduraev <[email protected]>
Cc: German Gomez <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions