Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/powerpc/
Dutils.c213 static void perf_event_attr_init(struct perf_event_attr *event_attr, in perf_event_attr_init() argument
217 memset(event_attr, 0, sizeof(*event_attr)); in perf_event_attr_init()
219 event_attr->type = type; in perf_event_attr_init()
220 event_attr->size = sizeof(struct perf_event_attr); in perf_event_attr_init()
221 event_attr->config = config; in perf_event_attr_init()
222 event_attr->read_format = PERF_FORMAT_GROUP; in perf_event_attr_init()
223 event_attr->disabled = 1; in perf_event_attr_init()
224 event_attr->exclude_kernel = 1; in perf_event_attr_init()
225 event_attr->exclude_hv = 1; in perf_event_attr_init()
226 event_attr->exclude_guest = 1; in perf_event_attr_init()
[all …]
/Linux-v5.10/tools/perf/scripts/python/
Devent_analyzing_sample.py74 event_attr = param_dict["attr"]
Dintel-pt-events.py94 event_attr = param_dict["attr"]
/Linux-v5.10/tools/kvm/kvm_stat/
Dkvm_stat447 event_attr = perf_event_attr()
448 event_attr.config = int(open(id_path).read())
449 return event_attr
460 event_attr = self._setup_event_attribute(trace_set, trace_point)
469 fd = self._perf_event_open(event_attr, trace_pid,