linux/tools/lib/perf/tests
Shunsuke Nakamura f304c8d949 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 <nakamura.shun@fujitsu.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20211006095703.477826-1-nakamura.shun@fujitsu.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2021-10-14 15:41:35 -03:00
..
Build libperf: Change tests to single static and shared binaries 2021-07-07 11:41:58 -03:00
main.c libperf: Change tests to single static and shared binaries 2021-07-07 11:41:58 -03:00
test-cpumap.c libperf: Change tests to single static and shared binaries 2021-07-07 11:41:58 -03:00
test-evlist.c libperf: Add tests for perf_evlist__set_leader() 2021-07-09 15:34:41 -03:00
test-evsel.c libperf test evsel: Fix build error on !x86 architectures 2021-10-14 15:41:35 -03:00
test-threadmap.c libperf: Change tests to single static and shared binaries 2021-07-07 11:41:58 -03:00
tests.h libperf: Change tests to single static and shared binaries 2021-07-07 11:41:58 -03:00