Lines Matching refs:attr
470 return pevent->evsel->core.attr.type == PERF_TYPE_TRACEPOINT;
524 tp_format = trace_event__tp_format_id(evsel->core.attr.config);
818 struct perf_event_attr attr = {
879 &attr.type, &attr.config, &attr.sample_freq,
880 &sample_period, &attr.sample_type,
881 &attr.read_format, &disabled, &inherit,
887 &attr.wakeup_events, &attr.bp_type,
888 &attr.bp_addr, &attr.bp_len, &idx))
893 if (attr.sample_freq != 0)
895 attr.sample_period = sample_period;
899 attr.disabled = disabled;
900 attr.inherit = inherit;
901 attr.pinned = pinned;
902 attr.exclusive = exclusive;
903 attr.exclude_user = exclude_user;
904 attr.exclude_kernel = exclude_kernel;
905 attr.exclude_hv = exclude_hv;
906 attr.exclude_idle = exclude_idle;
907 attr.mmap = mmap;
908 attr.context_switch = context_switch;
909 attr.comm = comm;
910 attr.freq = freq;
911 attr.inherit_stat = inherit_stat;
912 attr.enable_on_exec = enable_on_exec;
913 attr.task = task;
914 attr.watermark = watermark;
915 attr.precise_ip = precise_ip;
916 attr.mmap_data = mmap_data;
917 attr.sample_id_all = sample_id_all;
918 attr.size = sizeof(attr);
920 evsel__init(&pevsel->evsel, &attr, idx);
950 evsel->core.attr.inherit = inherit;
1506 void test_attr__open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu,