diff options
author | Shunsuke Nakamura <[email protected]> | 2021-10-06 18:57:03 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-10-14 15:41:35 -0300 |
commit | f304c8d949f9adc2ef51304b63e49d5ea1c2d288 (patch) | |
tree | 8c033cac7ddd8c4f919c217bcb05363f2fb41255 /scripts/gdb/linux/utils.py | |
parent | 8e820f962345e6ce6f4677044209f23dde39d76d (diff) |
libperf test evsel: Fix build error on !x86 architectures
In test_stat_user_read, following build error occurs except i386 and
x86_64 architectures:
tests/test-evsel.c:129:31: error: variable 'pc' set but not used [-Werror=unused-but-set-variable]
struct perf_event_mmap_page *pc;
Fix build error.
Signed-off-by: Shunsuke Nakamura <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions