Searched refs:fake_pmu (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/dma/idxd/ |
A D | perfmon.c | 158 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 D | arm_pmu.c | 390 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 D | arm-cci.c | 1257 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 D | parse-events.h | 37 struct perf_pmu *fake_pmu); 141 struct perf_pmu *fake_pmu; member
|
A D | metricgroup.c | 1308 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 D | parse-events.l | 153 return parse_state->fake_pmu in pmu_str_check() 156 return parse_state->fake_pmu && !strchr(text,'!') in pmu_str_check()
|
A D | parse-events.c | 1492 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 D | perf_event_cpu.c | 774 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 D | pmu-events.c | 762 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