Home
last modified time | relevance | path

Searched refs:event_attr (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/powerpc/
H A Dutils.c534 memset(event_attr, 0, sizeof(*event_attr)); in perf_event_attr_init()
536 event_attr->type = type; in perf_event_attr_init()
537 event_attr->size = sizeof(struct perf_event_attr); in perf_event_attr_init()
538 event_attr->config = config; in perf_event_attr_init()
539 event_attr->read_format = PERF_FORMAT_GROUP; in perf_event_attr_init()
540 event_attr->disabled = 1; in perf_event_attr_init()
541 event_attr->exclude_kernel = 1; in perf_event_attr_init()
542 event_attr->exclude_hv = 1; in perf_event_attr_init()
543 event_attr->exclude_guest = 1; in perf_event_attr_init()
550 struct perf_event_attr event_attr; in perf_event_open_counter() local
[all …]
/openbmc/linux/drivers/perf/arm_cspmu/
H A Dnvidia_cspmu.c43 struct attribute **event_attr; member
216 return ctx->event_attr; in nv_cspmu_get_event_attrs()
258 struct attribute **event_attr; member
270 .event_attr = mcf_pmu_event_attrs,
280 .event_attr = mcf_pmu_event_attrs,
290 .event_attr = mcf_pmu_event_attrs,
300 .event_attr = mcf_pmu_event_attrs,
310 .event_attr = scf_pmu_event_attrs,
320 .event_attr = generic_pmu_event_attrs,
379 ctx->event_attr = match->event_attr; in nv_cspmu_init_ops()
/openbmc/linux/tools/perf/scripts/python/
H A Devent_analyzing_sample.py74 event_attr = param_dict["attr"]
/openbmc/linux/tools/kvm/kvm_stat/
H A Dkvm_stat515 event_attr = perf_event_attr()
516 event_attr.config = int(open(id_path).read())
517 return event_attr
528 event_attr = self._setup_event_attribute(trace_set, trace_point)
537 fd = self._perf_event_open(event_attr, trace_pid,