
This way we'll be able to pass more test specific parameters without having to change this function signature. Will be used by the upcoming 'shell tests', shell scripts that will call perf tools and check if they work as expected, comparing its effects on the system (think 'perf probe foo') the output produced, etc. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Thomas Richter <tmricht@linux.vnet.ibm.com> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-wq250w7j1opbzyiynozuajbl@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
23 lines
596 B
C
23 lines
596 B
C
#ifndef ARCH_TESTS_H
|
|
#define ARCH_TESTS_H
|
|
|
|
#include <linux/compiler.h>
|
|
struct test;
|
|
|
|
/* Tests */
|
|
int test__rdpmc(struct test *test __maybe_unused, int subtest);
|
|
int test__perf_time_to_tsc(struct test *test __maybe_unused, int subtest);
|
|
int test__insn_x86(struct test *test __maybe_unused, int subtest);
|
|
int test__intel_cqm_count_nmi_context(struct test *test __maybe_unused, int subtest);
|
|
|
|
#ifdef HAVE_DWARF_UNWIND_SUPPORT
|
|
struct thread;
|
|
struct perf_sample;
|
|
int test__arch_unwind_sample(struct perf_sample *sample,
|
|
struct thread *thread);
|
|
#endif
|
|
|
|
extern struct test arch_tests[];
|
|
|
|
#endif
|