2 #include <linux/compiler.h> 96 evsel->
unit = strdup(
"KRAVA");
101 evsel->
scale = 0.123;
struct perf_evlist * perf_evlist__new_default(void)
#define TEST_ASSERT_VAL(text, cond)
static int process_event_unit(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused)
struct cpu_map * cpu_map__new_data(struct cpu_map_data *data)
int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads)
void cpu_map__put(struct cpu_map *map)
void perf_evlist__id_add(struct perf_evlist *evlist, struct perf_evsel *evsel, int cpu, int thread, u64 id)
static int process_event_scale(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused)
static struct perf_tool tool
struct cpu_map * own_cpus
const char * perf_evsel__name(struct perf_evsel *evsel)
static struct perf_evsel * perf_evlist__first(struct perf_evlist *evlist)
int test__event_update(struct test *test __maybe_unused, int subtest __maybe_unused)
static int process_event_cpus(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused)
static int process_event_name(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused)
struct cpu_map * cpu_map__new(const char *cpu_list)