Home
last modified time | relevance | path

Searched refs:fake_pmu (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/dma/idxd/
A Dperfmon.c158 struct idxd_pmu *fake_pmu; in perfmon_validate_group() local
161 fake_pmu = kzalloc(sizeof(*fake_pmu), GFP_KERNEL); in perfmon_validate_group()
162 if (!fake_pmu) in perfmon_validate_group()
165 fake_pmu->pmu.name = pmu->pmu.name; in perfmon_validate_group()
166 fake_pmu->n_counters = pmu->n_counters; in perfmon_validate_group()
168 n = perfmon_collect_events(fake_pmu, leader, true); in perfmon_validate_group()
174 fake_pmu->n_events = n; in perfmon_validate_group()
181 fake_pmu->n_events = n; in perfmon_validate_group()
184 event = fake_pmu->event_list[i]; in perfmon_validate_group()
186 idx = perfmon_assign_event(fake_pmu, event); in perfmon_validate_group()
[all …]
/linux/drivers/perf/
A Darm_pmu.c390 struct pmu_hw_events fake_pmu; in validate_group() local
396 memset(&fake_pmu.used_mask, 0, sizeof(fake_pmu.used_mask)); in validate_group()
398 if (!validate_event(event->pmu, &fake_pmu, leader)) in validate_group()
402 if (!validate_event(event->pmu, &fake_pmu, sibling)) in validate_group()
406 if (!validate_event(event->pmu, &fake_pmu, event)) in validate_group()
A Darm-cci.c1257 struct cci_pmu_hw_events fake_pmu = { in validate_group() local
1266 if (!validate_event(event->pmu, &fake_pmu, leader)) in validate_group()
1270 if (!validate_event(event->pmu, &fake_pmu, sibling)) in validate_group()
1274 if (!validate_event(event->pmu, &fake_pmu, event)) in validate_group()
/linux/tools/perf/util/
A Dparse-events.h37 struct perf_pmu *fake_pmu);
141 struct perf_pmu *fake_pmu; member
A Dmetricgroup.c1308 static int parse_ids(struct perf_pmu *fake_pmu, struct expr_parse_ctx *ids, in parse_ids() argument
1344 ret = __parse_events(parsed_evlist, events.buf, &parse_error, fake_pmu); in parse_ids()
1365 struct perf_pmu *fake_pmu, in parse_groups() argument
1390 ret = parse_ids(fake_pmu, combined, /*modifier=*/NULL, in parse_groups()
1438 ret = parse_ids(fake_pmu, m->pctx, m->modifier, in parse_groups()
A Dparse-events.l153 return parse_state->fake_pmu in pmu_str_check()
156 return parse_state->fake_pmu && !strchr(text,'!') in pmu_str_check()
A Dparse-events.c1492 if (parse_state->fake_pmu || !head_config || list_empty(head_config) || in parse_events__inside_hybrid_pmu()
1539 pmu = parse_state->fake_pmu ?: perf_pmu__find(name); in parse_events_add_pmu()
1575 if (!parse_state->fake_pmu && perf_pmu__check_alias(pmu, head_config, &info)) in parse_events_add_pmu()
1613 if (!parse_state->fake_pmu && perf_pmu__config(pmu, &attr, head_config, parse_state->error)) { in parse_events_add_pmu()
1632 if (parse_state->fake_pmu) in parse_events_add_pmu()
2264 struct parse_events_error *err, struct perf_pmu *fake_pmu) in __parse_events() argument
2272 .fake_pmu = fake_pmu, in __parse_events()
/linux/arch/nds32/kernel/
A Dperf_event_cpu.c774 struct pmu_hw_events fake_pmu; in validate_group() local
782 if (!validate_event(event->pmu, &fake_pmu, leader)) in validate_group()
786 if (!validate_event(event->pmu, &fake_pmu, sibling)) in validate_group()
790 if (!validate_event(event->pmu, &fake_pmu, event)) in validate_group()
/linux/tools/perf/tests/
A Dpmu-events.c762 struct perf_pmu *fake_pmu) in check_parse_id() argument
783 ret = __parse_events(evlist, dup, error, fake_pmu); in check_parse_id()

Completed in 31 milliseconds