Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/powerpc/
H A Dutils.c530 static void perf_event_attr_init(struct perf_event_attr *event_attr, in perf_event_attr_init() argument
534 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()
[all …]
/linux/drivers/perf/arm_cspmu/
H A Dnvidia_cspmu.c44 struct attribute **event_attr; member
217 return ctx->event_attr; in nv_cspmu_get_event_attrs()
259 struct attribute **event_attr; member
271 .event_attr = mcf_pmu_event_attrs,
281 .event_attr = mcf_pmu_event_attrs,
291 .event_attr = mcf_pmu_event_attrs,
301 .event_attr = mcf_pmu_event_attrs,
311 .event_attr = scf_pmu_event_attrs,
321 .event_attr = generic_pmu_event_attrs,
380 ctx->event_attr = match->event_attr; in nv_cspmu_init_ops()
H A Dampere_cspmu.c22 struct attribute **event_attr; member
116 return ctx->event_attr; in ampere_cspmu_get_event_attrs()
228 ctx->event_attr = ampereone_mcu_pmu_event_attrs; in ampere_cspmu_init_ops()
/linux/tools/perf/scripts/python/
H A Devent_analyzing_sample.py74 event_attr = param_dict["attr"]
/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,