|
@@ -7,14 +7,6 @@
|
|
#include "tests.h"
|
|
#include "tests.h"
|
|
#include <linux/hw_breakpoint.h>
|
|
#include <linux/hw_breakpoint.h>
|
|
|
|
|
|
-#define TEST_ASSERT_VAL(text, cond) \
|
|
|
|
-do { \
|
|
|
|
- if (!(cond)) { \
|
|
|
|
- pr_debug("FAILED %s:%d %s\n", __FILE__, __LINE__, text); \
|
|
|
|
- return -1; \
|
|
|
|
- } \
|
|
|
|
-} while (0)
|
|
|
|
-
|
|
|
|
#define PERF_TP_SAMPLE_TYPE (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME | \
|
|
#define PERF_TP_SAMPLE_TYPE (PERF_SAMPLE_RAW | PERF_SAMPLE_TIME | \
|
|
PERF_SAMPLE_CPU | PERF_SAMPLE_PERIOD)
|
|
PERF_SAMPLE_CPU | PERF_SAMPLE_PERIOD)
|
|
|
|
|