Home
last modified time | relevance | path

Searched refs:perf_event_attr (Results 1 – 25 of 37) sorted by relevance

12

/external/linux-tools-perf/perf-3.12.0/include/linux/
Dhw_breakpoint.h11 static inline void hw_breakpoint_init(struct perf_event_attr *attr) in hw_breakpoint_init()
25 static inline void ptrace_breakpoint_init(struct perf_event_attr *attr) in ptrace_breakpoint_init()
47 register_user_hw_breakpoint(struct perf_event_attr *attr,
54 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr);
60 register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr,
66 register_wide_hw_breakpoint(struct perf_event_attr *attr,
92 register_user_hw_breakpoint(struct perf_event_attr *attr, in register_user_hw_breakpoint()
98 struct perf_event_attr *attr) { return -ENOSYS; } in modify_user_hw_breakpoint()
100 register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr, in register_wide_hw_breakpoint_cpu()
105 register_wide_hw_breakpoint(struct perf_event_attr *attr, in register_wide_hw_breakpoint()
Dperf_event.h369 struct perf_event_attr attr;
552 perf_event_create_kernel_counter(struct perf_event_attr *attr,
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_linux.cc83 sizeof(struct perf_event_attr));
84 CHECK_SIZE_AND_OFFSET(perf_event_attr, type);
85 CHECK_SIZE_AND_OFFSET(perf_event_attr, size);
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
Dbp_signal_overflow.c62 struct perf_event_attr pe; in test__bp_signal_overflow()
77 memset(&pe, 0, sizeof(struct perf_event_attr)); in test__bp_signal_overflow()
79 pe.size = sizeof(struct perf_event_attr); in test__bp_signal_overflow()
Dbp_signal.c61 struct perf_event_attr pe; in bp_event()
64 memset(&pe, 0, sizeof(struct perf_event_attr)); in bp_event()
66 pe.size = sizeof(struct perf_event_attr); in bp_event()
Dattr.c67 static int store_event(struct perf_event_attr *attr, pid_t pid, int cpu, in store_event()
137 void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu, in test_attr__open()
Dsw-clock.c28 struct perf_event_attr attr = { in __test__sw_clock_freq()
Dpmu.c147 struct perf_event_attr attr; in test__pmu()
Drdpmc.c97 struct perf_event_attr attr = { in __test__rdpmc()
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dpmu.h26 int perf_pmu__config(struct perf_pmu *pmu, struct perf_event_attr *attr,
29 struct perf_event_attr *attr,
Dparse-events.c273 struct perf_event_attr *attr, in __add_event()
292 struct perf_event_attr *attr, char *name) in add_event()
318 struct perf_event_attr attr; in parse_events_add_cache()
478 parse_breakpoint_type(const char *type, struct perf_event_attr *attr) in parse_breakpoint_type()
520 struct perf_event_attr attr; in parse_events_add_breakpoint()
543 static int config_term(struct perf_event_attr *attr, in config_term()
586 static int config_attr(struct perf_event_attr *attr, in config_attr()
602 struct perf_event_attr attr; in parse_events_add_numeric()
634 struct perf_event_attr attr; in parse_events_add_pmu()
1084 struct perf_event_attr attr = { in is_event_supported()
Devsel.h60 struct perf_event_attr attr;
102 struct perf_evsel *perf_evsel__new(struct perf_event_attr *attr, int idx);
108 struct perf_event_attr *attr, int idx);
Dutil.h255 struct perf_event_attr;
257 void event_attr_init(struct perf_event_attr *attr);
Dpmu.c417 struct perf_event_attr *attr, in pmu_config_term()
462 struct perf_event_attr *attr, in perf_pmu__config_terms()
479 int perf_pmu__config(struct perf_pmu *pmu, struct perf_event_attr *attr, in perf_pmu__config()
Dheader.h130 struct perf_event_attr *attr, u32 ids, u64 *id,
Dsession.h79 void perf_event__attr_swap(struct perf_event_attr *attr);
Devsel.c160 struct perf_event_attr *attr, int idx) in perf_evsel__init()
171 struct perf_evsel *perf_evsel__new(struct perf_event_attr *attr, int idx) in perf_evsel__new()
227 struct perf_event_attr attr = { in perf_evsel__newtp()
278 struct perf_event_attr *attr = &evsel->attr; in perf_evsel__add_modifiers()
363 struct perf_event_attr *attr = &evsel->attr; in perf_evsel__bp_name()
573 struct perf_event_attr *attr = &evsel->attr; in perf_evsel__config()
958 static size_t perf_event_attr__fprintf(struct perf_event_attr *attr, FILE *fp) in perf_event_attr__fprintf()
Devlist.h64 struct perf_event_attr *attrs, size_t nr_attrs);
/external/linux-tools-perf/perf-3.12.0/tools/perf/
Dperf.h160 void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu,
164 sys_perf_event_open(struct perf_event_attr *attr, in sys_perf_event_open()
Dbuiltin-script.c146 struct perf_event_attr *attr = &evsel->attr; in perf_evsel__check_stype()
174 struct perf_event_attr *attr = &evsel->attr; in perf_evsel__check_attr()
239 struct perf_event_attr *attr; in perf_session__check_output_opt()
285 struct perf_event_attr *attr = &evsel->attr; in print_sample_start()
328 static bool is_bts_event(struct perf_event_attr *attr) in is_bts_event()
335 static bool sample_addr_correlates_sym(struct perf_event_attr *attr) in sample_addr_correlates_sym()
353 struct perf_event_attr *attr) in print_sample_addr()
396 struct perf_event_attr *attr = &evsel->attr; in print_sample_bts()
423 struct perf_event_attr *attr = &evsel->attr; in process_event()
Dbuiltin-stat.c244 struct perf_event_attr *attr = &evsel->attr; in create_perf_stat_counter()
1255 struct perf_event_attr default_attrs[] = { in add_default_attributes()
1274 struct perf_event_attr detailed_attrs[] = { in add_default_attributes()
1304 struct perf_event_attr very_detailed_attrs[] = { in add_default_attributes()
1347 struct perf_event_attr very_very_detailed_attrs[] = { in add_default_attributes()
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/attr/
DREADME1 The struct perf_event_attr test (attr tests) support
7 The general idea is to store 'struct perf_event_attr' details for
22 separate file. Besides 'struct perf_event_attr' values we also
/external/linux-tools-perf/perf-3.12.0/tools/perf/bench/
Dmem-memset.c79 static struct perf_event_attr cycle_attr = {
/external/linux-tools-perf/perf-3.12.0/include/uapi/linux/
Dperf_event.h221 struct perf_event_attr { struct
/external/kernel-headers/original/uapi/linux/
Dperf_event.h244 struct perf_event_attr { struct

12