diff options
author | Namhyung Kim <namhyung@kernel.org> | 2023-02-18 19:27:24 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-02-22 18:39:11 +0300 |
commit | b48279af636de613e9dd03857d9cadd4beca8e7e (patch) | |
tree | af89a81331497f19b15a6c5b39dd408a49f29f40 /lib/test_objagg.c | |
parent | f9fa0778ee7349a9aa3d2ea10e9f2ab843a0b44e (diff) | |
download | linux-b48279af636de613e9dd03857d9cadd4beca8e7e.tar.xz |
perf test: Fix offcpu test prev_state check
On Fedora 36, the 'perf record' offcpu profiling tests are failing. It
was because the BPF checks the prev task's state being S or D but
actually it has more bits set. Let's check the LSB 8 bits for the
purpose of offcpu profiling.
Reported-by: Arnaldo Carvalho de Melo <acme@kernel.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Ian Rogers <irogers@google.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230218162724.1292657-1-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/test_objagg.c')
0 files changed, 0 insertions, 0 deletions