mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 12:24:18 +00:00
This test has been superseded by test_stat_user_read in: tools/lib/perf/tests/test-evsel.c The updated test doesn't divide-by-0 when running time of a counter is 0. It also supports ARM64. Signed-off-by: Ian Rogers <[email protected]> Acked-by: Rob Herring <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Anshuman Khandual <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kajol Jain <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
29 lines
680 B
C
29 lines
680 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <string.h>
|
|
#include "tests/tests.h"
|
|
#include "arch-tests.h"
|
|
|
|
#ifdef HAVE_AUXTRACE_SUPPORT
|
|
DEFINE_SUITE("x86 instruction decoder - new instructions", insn_x86);
|
|
DEFINE_SUITE("Intel PT packet decoder", intel_pt_pkt_decoder);
|
|
#endif
|
|
#if defined(__x86_64__)
|
|
DEFINE_SUITE("x86 bp modify", bp_modify);
|
|
#endif
|
|
DEFINE_SUITE("x86 Sample parsing", x86_sample_parsing);
|
|
|
|
struct test_suite *arch_tests[] = {
|
|
#ifdef HAVE_DWARF_UNWIND_SUPPORT
|
|
&suite__dwarf_unwind,
|
|
#endif
|
|
#ifdef HAVE_AUXTRACE_SUPPORT
|
|
&suite__insn_x86,
|
|
&suite__intel_pt_pkt_decoder,
|
|
#endif
|
|
#if defined(__x86_64__)
|
|
&suite__bp_modify,
|
|
#endif
|
|
&suite__x86_sample_parsing,
|
|
NULL,
|
|
};
|