Searched refs:metric_event (Results 1 – 10 of 10) sorted by relevance
| /linux/tools/perf/arch/x86/util/ |
| H A D | topdown.c | 87 int topdown_insert_slots_event(struct list_head *list, int idx, struct evsel *metric_event) in topdown_insert_slots_event() argument 89 struct evsel *evsel = evsel__new_idx(&metric_event->core.attr, idx); in topdown_insert_slots_event() 95 evsel->core.cpus = perf_cpu_map__get(metric_event->core.cpus); in topdown_insert_slots_event() 96 evsel->core.pmu_cpus = perf_cpu_map__get(metric_event->core.pmu_cpus); in topdown_insert_slots_event() 98 evsel->pmu = metric_event->pmu; in topdown_insert_slots_event() 100 evsel->precise_max = metric_event->precise_max; in topdown_insert_slots_event() 101 evsel->sample_read = metric_event->sample_read; in topdown_insert_slots_event() 102 evsel->weak_group = metric_event->weak_group; in topdown_insert_slots_event() 103 evsel->bpf_counter = metric_event->bpf_counter; in topdown_insert_slots_event() 104 evsel->retire_lat = metric_event->retire_lat; in topdown_insert_slots_event() [all …]
|
| H A D | evlist.c | 87 struct evsel *pos, *metric_event = NULL; in arch_evlist__add_required_events() local 98 if (metric_event == NULL && arch_is_topdown_metrics(pos)) in arch_evlist__add_required_events() 99 metric_event = pos; in arch_evlist__add_required_events() 102 if (metric_event == NULL) { in arch_evlist__add_required_events() 106 return topdown_insert_slots_event(list, idx + 1, metric_event); in arch_evlist__add_required_events()
|
| H A D | topdown.h | 13 int topdown_insert_slots_event(struct list_head *list, int idx, struct evsel *metric_event);
|
| /linux/tools/perf/util/ |
| H A D | metricgroup.c | 36 struct metric_event *metricgroup__lookup(struct rblist *metric_events, in metricgroup__lookup() 41 struct metric_event me = { in metricgroup__lookup() 52 return container_of(nd, struct metric_event, nd); in metricgroup__lookup() 57 return container_of(nd, struct metric_event, nd); in metricgroup__lookup() 64 struct metric_event *a = container_of(rb_node, in metric_event_cmp() 65 struct metric_event, in metric_event_cmp() 67 const struct metric_event *b = entry; in metric_event_cmp() 79 struct metric_event *me = malloc(sizeof(struct metric_event)); in metric_event_new() 83 memcpy(me, entry, sizeof(struct metric_event)); in metric_event_new() 84 me->evsel = ((struct metric_event *)entry)->evsel; in metric_event_new() [all …]
|
| H A D | metricgroup.h | 22 struct metric_event { struct 69 struct metric_event *metricgroup__lookup(struct rblist *metric_events,
|
| H A D | python.c | 1317 struct metric_event *me = container_of(node, struct metric_event, nd); in pyrf_evlist__metrics() 1424 struct metric_event *me = container_of(node, struct metric_event, nd); in pyrf_evlist__compute_metric() 2043 struct metric_event *me = container_of(node, struct metric_event, nd); in pyrf_evlist__from_evlist()
|
| H A D | stat-shadow.c | 277 struct metric_event *me; in perf_stat__print_shadow_stats_metricgroup()
|
| /linux/tools/perf/tests/ |
| H A D | parse-metric.c | 52 struct metric_event *me; in compute_single()
|
| H A D | pmu-events.c | 878 struct metric_event *me = metricgroup__lookup(&evlist->metric_events, evsel, false); in test__parsing_callback()
|
| /linux/tools/perf/ |
| H A D | builtin-script.c | 2224 struct metric_event *metric_me = metricgroup__lookup(&metric_evlist->metric_events, in script_find_metrics() 2245 struct metric_event *script_me = in script_find_metrics()
|