diff options
author | Alexey Bayduraev <[email protected]> | 2022-04-13 18:46:40 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-04-14 09:05:11 -0300 |
commit | 23380e4d53305765789fd1a2cf6bddb07239cd3b (patch) | |
tree | dda309c752207d14800720578c8687198c081d93 /lib/memory-notifier-error-inject.c | |
parent | a668cc07f990d2ed19424d5c1a529521a9d1cee1 (diff) |
perf record: Fix per-thread option
Per-thread mode doesn't have specific CPUs for events, add checks for
this case.
Minor fix to a pr_debug by Ian Rogers <[email protected]> to avoid an
out of bound array access.
Fixes: 7954f71689f90cb2 ("perf record: Introduce thread affinity and mmap masks")
Reported-by: Ian Rogers <[email protected]>
Signed-off-by: Alexey Bayduraev <[email protected]>
Signed-off-by: Ian Rogers <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Alexey Bayduraev <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Riccardo Mancini <[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