diff options
author | James Clark <[email protected]> | 2022-10-12 10:46:32 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-10-15 10:13:16 -0300 |
commit | e28039667cea2cbea72aeb19665a1c57c6756253 (patch) | |
tree | ba4d9057b81a55693ffc7cef602d810125f09fa0 /drivers/fpga/fpga-mgr.c | |
parent | f77811a0f62577d2d51e57c5740a4fbd53dd3331 (diff) |
perf test: Fix attr tests for PERF_FORMAT_LOST
Since PERF_FORMAT_LOST was added, the default read format has that bit
set, so add it to the tests. Keep the old value as well so that the test
still passes on older kernels.
This fixes the following failure:
expected read_format=0|4, got 20
FAILED './tests/attr/test-record-C0' - match failure
Fixes: 85b425f31c8866e0 ("perf record: Set PERF_FORMAT_LOST by default")
Signed-off-by: James Clark <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[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]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions