Home
last modified time | relevance | path

Searched refs:perf_subsys_id (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/perf/util/bpf_skel/
H A Dbperf_cgroup.bpf.c63 int perf_subsys_id = -1; variable
89 if (perf_subsys_id == -1) { in get_cgroup_v1_idx()
91 perf_subsys_id = bpf_core_enum_value(enum cgroup_subsys_id, in get_cgroup_v1_idx()
94 perf_subsys_id = perf_event_cgrp_id; in get_cgroup_v1_idx()
97 cgrp = BPF_CORE_READ(p, cgroups, subsys[perf_subsys_id], cgroup); in get_cgroup_v1_idx()
H A Doff_cpu.bpf.c97 int perf_subsys_id = -1; variable
127 if (perf_subsys_id == -1) { in get_cgroup_id()
129 perf_subsys_id = bpf_core_enum_value(enum cgroup_subsys_id, in get_cgroup_id()
132 perf_subsys_id = perf_event_cgrp_id; in get_cgroup_id()
136 cgrp = BPF_CORE_READ(t, cgroups, subsys[perf_subsys_id], cgroup); in get_cgroup_id()