/openbmc/linux/include/linux/ |
H A D | hw_breakpoint.h | 22 static inline void hw_breakpoint_init(struct perf_event_attr *attr) in hw_breakpoint_init() 36 static inline void ptrace_breakpoint_init(struct perf_event_attr *attr) in ptrace_breakpoint_init() 58 register_user_hw_breakpoint(struct perf_event_attr *attr, 65 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr); 67 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr, 74 register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr, 80 register_wide_hw_breakpoint(struct perf_event_attr *attr, 106 register_user_hw_breakpoint(struct perf_event_attr *attr, in register_user_hw_breakpoint() 112 struct perf_event_attr *attr) { return -ENOSYS; } in modify_user_hw_breakpoint() 118 register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr, in register_wide_hw_breakpoint_cpu() [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | bp_account.c | 42 static int __event(bool is_x, void *addr, struct perf_event_attr *attr) in __event() 46 memset(attr, 0, sizeof(struct perf_event_attr)); in __event() 48 attr->size = sizeof(struct perf_event_attr); in __event() 71 static int wp_event(void *addr, struct perf_event_attr *attr) in wp_event() 76 static int bp_event(void *addr, struct perf_event_attr *attr) in bp_event() 83 struct perf_event_attr attr, attr_mod, attr_new; in bp_accounting() 115 struct perf_event_attr attr; in detect_cnt() 139 struct perf_event_attr attr; in detect_ioctl() 153 struct perf_event_attr attr; in detect_share()
|
H A D | wp.c | 38 static void get__perf_event_attr(struct perf_event_attr *attr, int wp_type, in get__perf_event_attr() 41 memset(attr, 0, sizeof(struct perf_event_attr)); in get__perf_event_attr() 43 attr->size = sizeof(struct perf_event_attr); in get__perf_event_attr() 57 struct perf_event_attr attr; in __event() 151 struct perf_event_attr new_attr; in test__wp_modify()
|
H A D | bp_signal_overflow.c | 64 struct perf_event_attr pe; in test__bp_signal_overflow() 84 memset(&pe, 0, sizeof(struct perf_event_attr)); in test__bp_signal_overflow() 86 pe.size = sizeof(struct perf_event_attr); in test__bp_signal_overflow()
|
H A D | event_groups.c | 33 struct perf_event_attr attr; in event_open() 35 memset(&attr, 0, sizeof(struct perf_event_attr)); in event_open() 37 attr.size = sizeof(struct perf_event_attr); in event_open()
|
H A D | sigtrap.c | 36 static struct perf_event_attr make_event_attr(void) in make_event_attr() 38 struct perf_event_attr attr = { in make_event_attr() 94 struct perf_event_attr attr = { in attr_has_sigtrap() 174 struct perf_event_attr attr = make_event_attr(); in test__sigtrap()
|
/openbmc/linux/samples/bpf/ |
H A D | tracex6_user.c | 25 static void check_on_cpu(int cpu, struct perf_event_attr *attr) in check_on_cpu() 73 static void test_perf_event_array(struct perf_event_attr *attr, in test_perf_event_array() 102 struct perf_event_attr attr_cycles = { in test_bpf_perf_event() 111 struct perf_event_attr attr_clock = { in test_bpf_perf_event() 120 struct perf_event_attr attr_raw = { in test_bpf_perf_event() 130 struct perf_event_attr attr_l1d_load = { in test_bpf_perf_event() 142 struct perf_event_attr attr_llc_miss = { in test_bpf_perf_event() 154 struct perf_event_attr attr_msr_tsc = { in test_bpf_perf_event()
|
H A D | trace_event_user.c | 137 static void test_perf_event_all_cpu(struct perf_event_attr *attr) in test_perf_event_all_cpu() 181 static void test_perf_event_task(struct perf_event_attr *attr) in test_perf_event_task() 218 struct perf_event_attr attr_type_hw = { in test_bpf_perf_event() 224 struct perf_event_attr attr_type_sw = { in test_bpf_perf_event() 230 struct perf_event_attr attr_hw_cache_l1d = { in test_bpf_perf_event() 239 struct perf_event_attr attr_hw_cache_branch_miss = { in test_bpf_perf_event() 248 struct perf_event_attr attr_type_raw = { in test_bpf_perf_event() 255 struct perf_event_attr attr_type_raw_lock_load = { in test_bpf_perf_event()
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-event_source-devices-iommu | 6 that go into perf_event_attr.config, 7 perf_event_attr.config1 or perf_event_attr.config2 for 12 perf_event_attr.config, perf_event_attr.config1, 13 or perf_event_attr.config2. All supported attributes
|
H A D | sysfs-bus-event_source-devices-dsa | 6 that go into perf_event_attr.config or 7 perf_event_attr.config1 for the IDXD DSA pmu. (See also 11 perf_event_attr.config or perf_event_attr.config1.
|
H A D | sysfs-bus-event_source-devices-format | 7 perf_event_attr::config[012] for a particular pmu. 21 perf_event_attr::config1.
|
/openbmc/linux/tools/perf/arch/x86/tests/ |
H A D | amd-ibs-via-core-pmu.c | 26 struct perf_event_attr attr; in event_open() 28 memset(&attr, 0, sizeof(struct perf_event_attr)); in event_open() 30 attr.size = sizeof(struct perf_event_attr); in event_open()
|
/openbmc/linux/tools/perf/util/ |
H A D | pmu.h | 29 struct perf_event_attr; 98 struct perf_event_attr *default_config; 195 int perf_pmu__config(struct perf_pmu *pmu, struct perf_event_attr *attr, 199 struct perf_event_attr *attr, 238 struct perf_event_attr *perf_pmu__get_default_config(struct perf_pmu *pmu);
|
H A D | intel-pt.h | 37 struct perf_event_attr; 45 struct perf_event_attr *intel_pt_pmu_default_config(struct perf_pmu *pmu);
|
H A D | evsel_fprintf.h | 32 struct perf_event_attr; 48 int perf_event_attr__fprintf(FILE *fp, struct perf_event_attr *attr,
|
H A D | perf_api_probe.c | 134 struct perf_event_attr attr = { in perf_can_record_cpu_wide() 164 struct perf_event_attr attr = { in perf_can_aux_sample() 165 .size = sizeof(struct perf_event_attr), in perf_can_aux_sample()
|
/openbmc/linux/tools/lib/perf/include/perf/ |
H A D | evsel.h | 11 struct perf_event_attr; 28 LIBPERF_API struct perf_evsel *perf_evsel__new(struct perf_event_attr *attr); 46 LIBPERF_API struct perf_event_attr *perf_evsel__attr(struct perf_evsel *evsel);
|
/openbmc/linux/tools/lib/perf/tests/ |
H A D | test-evsel.c | 24 struct perf_event_attr attr = { in test_stat_cpu() 58 struct perf_event_attr attr = { in test_stat_thread() 90 struct perf_event_attr attr = { in test_stat_thread_enable() 133 struct perf_event_attr attr = { in test_stat_user_read() 195 static int test_stat_read_format_single(struct perf_event_attr *attr, struct perf_thread_map *threa… in test_stat_read_format_single() 230 static int test_stat_read_format_group(struct perf_event_attr *attr, struct perf_thread_map *thread… in test_stat_read_format_group() 294 struct perf_event_attr attr = { in test_stat_read_format()
|
H A D | test-evlist.c | 39 struct perf_event_attr attr1 = { in test_stat_cpu() 43 struct perf_event_attr attr2 = { in test_stat_cpu() 98 struct perf_event_attr attr1 = { in test_stat_thread() 102 struct perf_event_attr attr2 = { in test_stat_thread() 153 struct perf_event_attr attr1 = { in test_stat_thread_enable() 158 struct perf_event_attr attr2 = { in test_stat_thread_enable() 220 struct perf_event_attr attr = { in test_mmap_thread() 330 struct perf_event_attr attr = { in test_mmap_cpus() 446 struct perf_event_attr attr = { in test_stat_multiplexing()
|
/openbmc/linux/tools/perf/ |
H A D | perf-sys.h | 10 struct perf_event_attr; 13 sys_perf_event_open(struct perf_event_attr *attr, in sys_perf_event_open()
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | hw_breakpoint.h | 33 struct perf_event_attr; 41 const struct perf_event_attr *attr,
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | hw_breakpoint.h | 43 struct perf_event_attr; 56 const struct perf_event_attr *attr,
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | hw_breakpoint.h | 49 struct perf_event_attr; 55 const struct perf_event_attr *attr,
|
/openbmc/linux/kernel/ |
H A D | watchdog_perf.c | 89 static struct perf_event_attr wd_hw_attr = { 92 .size = sizeof(struct perf_event_attr), 114 struct perf_event_attr *wd_attr; in hardlockup_detector_event_create()
|
/openbmc/linux/tools/lib/perf/include/internal/ |
H A D | evsel.h | 43 struct perf_event_attr attr; 80 void perf_evsel__init(struct perf_evsel *evsel, struct perf_event_attr *attr,
|