builtin-test.c (3237f28188c3e41a938781a369652772a23e97a9) builtin-test.c (43f322b4ab3f203d8eefbdad6e58e1637221e4a7)
1/*
2 * builtin-test.c
3 *
4 * Builtin regression testing command: ever growing number of sanity tests
5 */
6#include <unistd.h>
7#include <string.h>
8#include "builtin.h"

--- 9 unchanged lines hidden (view full) ---

18 const char *desc;
19 int (*func)(void);
20} tests[] = {
21 {
22 .desc = "vmlinux symtab matches kallsyms",
23 .func = test__vmlinux_matches_kallsyms,
24 },
25 {
1/*
2 * builtin-test.c
3 *
4 * Builtin regression testing command: ever growing number of sanity tests
5 */
6#include <unistd.h>
7#include <string.h>
8#include "builtin.h"

--- 9 unchanged lines hidden (view full) ---

18 const char *desc;
19 int (*func)(void);
20} tests[] = {
21 {
22 .desc = "vmlinux symtab matches kallsyms",
23 .func = test__vmlinux_matches_kallsyms,
24 },
25 {
26 .desc = "detect open syscall event",
27 .func = test__open_syscall_event,
26 .desc = "detect openat syscall event",
27 .func = test__openat_syscall_event,
28 },
29 {
28 },
29 {
30 .desc = "detect open syscall event on all cpus",
31 .func = test__open_syscall_event_on_all_cpus,
30 .desc = "detect openat syscall event on all cpus",
31 .func = test__openat_syscall_event_on_all_cpus,
32 },
33 {
34 .desc = "read samples using the mmap interface",
35 .func = test__basic_mmap,
36 },
37 {
38 .desc = "parse events tests",
39 .func = test__parse_events,

--- 28 unchanged lines hidden (view full) ---

68 .desc = "roundtrip evsel->name check",
69 .func = test__perf_evsel__roundtrip_name_test,
70 },
71 {
72 .desc = "Check parsing of sched tracepoints fields",
73 .func = test__perf_evsel__tp_sched_test,
74 },
75 {
32 },
33 {
34 .desc = "read samples using the mmap interface",
35 .func = test__basic_mmap,
36 },
37 {
38 .desc = "parse events tests",
39 .func = test__parse_events,

--- 28 unchanged lines hidden (view full) ---

68 .desc = "roundtrip evsel->name check",
69 .func = test__perf_evsel__roundtrip_name_test,
70 },
71 {
72 .desc = "Check parsing of sched tracepoints fields",
73 .func = test__perf_evsel__tp_sched_test,
74 },
75 {
76 .desc = "Generate and check syscalls:sys_enter_open event fields",
77 .func = test__syscall_open_tp_fields,
76 .desc = "Generate and check syscalls:sys_enter_openat event fields",
77 .func = test__syscall_openat_tp_fields,
78 },
79 {
80 .desc = "struct perf_event_attr setup",
81 .func = test__attr,
82 },
83 {
84 .desc = "Test matching and linking multiple hists",
85 .func = test__hists_link,

--- 246 unchanged lines hidden ---
78 },
79 {
80 .desc = "struct perf_event_attr setup",
81 .func = test__attr,
82 },
83 {
84 .desc = "Test matching and linking multiple hists",
85 .func = test__hists_link,

--- 246 unchanged lines hidden ---