test-evsel.c (8dd06ef34b6e2f41b29fbf5fc1663780f2524285) test-evsel.c (bba2ea17ef553aea0df80cb64399fe2f70f225dd)
1// SPDX-License-Identifier: GPL-2.0
2#include <stdarg.h>
3#include <stdio.h>
4#include <linux/perf_event.h>
5#include <perf/cpumap.h>
6#include <perf/threadmap.h>
7#include <perf/evsel.h>
8#include <internal/tests.h>

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

126
127 libperf_init(libperf_print);
128
129 test_stat_cpu();
130 test_stat_thread();
131 test_stat_thread_enable();
132
133 __T_END;
1// SPDX-License-Identifier: GPL-2.0
2#include <stdarg.h>
3#include <stdio.h>
4#include <linux/perf_event.h>
5#include <perf/cpumap.h>
6#include <perf/threadmap.h>
7#include <perf/evsel.h>
8#include <internal/tests.h>

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

126
127 libperf_init(libperf_print);
128
129 test_stat_cpu();
130 test_stat_thread();
131 test_stat_thread_enable();
132
133 __T_END;
134 return 0;
134 return tests_failed == 0 ? 0 : -1;
135}
135}