/linux-6.1.9/include/linux/ |
D | hw_breakpoint.h | 12 static inline void hw_breakpoint_init(struct perf_event_attr *attr) in hw_breakpoint_init() 26 static inline void ptrace_breakpoint_init(struct perf_event_attr *attr) in ptrace_breakpoint_init() 48 register_user_hw_breakpoint(struct perf_event_attr *attr, 55 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr); 57 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr, 64 register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr, 70 register_wide_hw_breakpoint(struct perf_event_attr *attr, 99 register_user_hw_breakpoint(struct perf_event_attr *attr, in register_user_hw_breakpoint() 105 struct perf_event_attr *attr) { return -ENOSYS; } in modify_user_hw_breakpoint() 107 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr, in modify_user_hw_breakpoint_check() [all …]
|
/linux-6.1.9/tools/perf/tests/ |
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()
|
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() 149 struct perf_event_attr new_attr; in test__wp_modify()
|
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()
|
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()
|
/linux-6.1.9/samples/bpf/ |
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()
|
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()
|
/linux-6.1.9/tools/perf/util/ |
D | parse-events-hybrid.c | 18 static void config_hybrid_attr(struct perf_event_attr *attr, in config_hybrid_attr() 42 struct perf_event_attr *attr, const char *name, in create_event_hybrid() 89 struct list_head *list, struct perf_event_attr *attr, in add_hw_hybrid() 115 struct perf_event_attr *attr, in create_raw_event_hybrid() 135 struct list_head *list, struct perf_event_attr *attr, in add_raw_hybrid() 161 struct perf_event_attr *attr, in parse_events__add_numeric_hybrid() 184 struct perf_event_attr *attr, in parse_events__add_cache_hybrid()
|
D | pmu.h | 28 struct perf_event_attr; 46 struct perf_event_attr *default_config; 95 int perf_pmu__config(struct perf_pmu *pmu, struct perf_event_attr *attr, 99 struct perf_event_attr *attr, 128 struct perf_event_attr *perf_pmu__get_default_config(struct perf_pmu *pmu);
|
D | parse-events-hybrid.h | 13 struct perf_event_attr *attr, 19 struct perf_event_attr *attr,
|
D | intel-pt.h | 37 struct perf_event_attr; 45 struct perf_event_attr *intel_pt_pmu_default_config(struct perf_pmu *pmu);
|
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()
|
D | evsel_fprintf.h | 31 struct perf_event_attr; 47 int perf_event_attr__fprintf(FILE *fp, struct perf_event_attr *attr,
|
/linux-6.1.9/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-perf-hwbreak.c | 54 static void perf_user_event_attr_set(struct perf_event_attr *attr, __u64 addr, __u64 len) in perf_user_event_attr_set() 56 memset(attr, 0, sizeof(struct perf_event_attr)); in perf_user_event_attr_set() 58 attr->size = sizeof(struct perf_event_attr); in perf_user_event_attr_set() 66 static void perf_kernel_event_attr_set(struct perf_event_attr *attr) in perf_kernel_event_attr_set() 68 memset(attr, 0, sizeof(struct perf_event_attr)); in perf_kernel_event_attr_set() 70 attr->size = sizeof(struct perf_event_attr); in perf_kernel_event_attr_set() 80 struct perf_event_attr attr; in perf_cpu_event_open() 88 struct perf_event_attr attr; in perf_thread_event_open() 96 struct perf_event_attr attr; in perf_thread_cpu_event_open() 104 struct perf_event_attr attr; in perf_thread_kernel_event_open() [all …]
|
/linux-6.1.9/Documentation/ABI/testing/ |
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.
|
/linux-6.1.9/tools/lib/perf/tests/ |
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()
|
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()
|
/linux-6.1.9/tools/lib/perf/include/perf/ |
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);
|
/linux-6.1.9/tools/perf/ |
D | perf-sys.h | 10 struct perf_event_attr; 13 sys_perf_event_open(struct perf_event_attr *attr, in sys_perf_event_open()
|
/linux-6.1.9/arch/xtensa/include/asm/ |
D | hw_breakpoint.h | 33 struct perf_event_attr; 41 const struct perf_event_attr *attr,
|
/linux-6.1.9/tools/testing/selftests/powerpc/ |
D | utils.c | 206 static long perf_event_open(struct perf_event_attr *hw_event, pid_t pid, in perf_event_open() 213 static void perf_event_attr_init(struct perf_event_attr *event_attr, in perf_event_attr_init() 220 event_attr->size = sizeof(struct perf_event_attr); in perf_event_attr_init() 233 struct perf_event_attr event_attr; in perf_event_open_counter()
|
/linux-6.1.9/kernel/ |
D | watchdog_hld.c | 101 static struct perf_event_attr wd_hw_attr = { 104 .size = sizeof(struct perf_event_attr), 169 struct perf_event_attr *wd_attr; in hardlockup_detector_event_create()
|
/linux-6.1.9/arch/x86/include/asm/ |
D | hw_breakpoint.h | 49 struct perf_event_attr; 55 const struct perf_event_attr *attr,
|
/linux-6.1.9/arch/sh/include/asm/ |
D | hw_breakpoint.h | 43 struct perf_event_attr; 56 const struct perf_event_attr *attr,
|
/linux-6.1.9/tools/lib/perf/include/internal/ |
D | evsel.h | 43 struct perf_event_attr attr; 71 void perf_evsel__init(struct perf_evsel *evsel, struct perf_event_attr *attr,
|