Home
last modified time | relevance | path

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

12345

/Linux-v4.19/include/linux/
Dhw_breakpoint.h12 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,
96 register_user_hw_breakpoint(struct perf_event_attr *attr, in register_user_hw_breakpoint()
102 struct perf_event_attr *attr) { return -ENOSYS; } in modify_user_hw_breakpoint()
104 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr, in modify_user_hw_breakpoint_check()
[all …]
/Linux-v4.19/tools/perf/tests/
Dbp_account.c32 static int __event(bool is_x, void *addr, struct perf_event_attr *attr) in __event()
36 memset(attr, 0, sizeof(struct perf_event_attr)); in __event()
38 attr->size = sizeof(struct perf_event_attr); in __event()
61 static int wp_event(void *addr, struct perf_event_attr *attr) in wp_event()
66 static int bp_event(void *addr, struct perf_event_attr *attr) in bp_event()
73 struct perf_event_attr attr, attr_mod, attr_new; in bp_accounting()
105 struct perf_event_attr attr; in detect_cnt()
129 struct perf_event_attr attr; in detect_ioctl()
143 struct perf_event_attr attr; in detect_share()
Dbp_signal_overflow.c63 struct perf_event_attr pe; in test__bp_signal_overflow()
78 memset(&pe, 0, sizeof(struct perf_event_attr)); in test__bp_signal_overflow()
80 pe.size = sizeof(struct perf_event_attr); in test__bp_signal_overflow()
Dbp_signal.c108 struct perf_event_attr pe; in __event()
111 memset(&pe, 0, sizeof(struct perf_event_attr)); in __event()
113 pe.size = sizeof(struct perf_event_attr); in __event()
/Linux-v4.19/samples/bpf/
Dtracex6_user.c24 static void check_on_cpu(int cpu, struct perf_event_attr *attr) in check_on_cpu()
72 static void test_perf_event_array(struct perf_event_attr *attr, in test_perf_event_array()
101 struct perf_event_attr attr_cycles = { in test_bpf_perf_event()
110 struct perf_event_attr attr_clock = { in test_bpf_perf_event()
119 struct perf_event_attr attr_raw = { in test_bpf_perf_event()
129 struct perf_event_attr attr_l1d_load = { in test_bpf_perf_event()
141 struct perf_event_attr attr_llc_miss = { in test_bpf_perf_event()
153 struct perf_event_attr attr_msr_tsc = { in test_bpf_perf_event()
Dtrace_event_user.c135 static void test_perf_event_all_cpu(struct perf_event_attr *attr) in test_perf_event_all_cpu()
171 static void test_perf_event_task(struct perf_event_attr *attr) in test_perf_event_task()
203 struct perf_event_attr attr_type_hw = { in test_bpf_perf_event()
209 struct perf_event_attr attr_type_sw = { in test_bpf_perf_event()
215 struct perf_event_attr attr_hw_cache_l1d = { in test_bpf_perf_event()
224 struct perf_event_attr attr_hw_cache_branch_miss = { in test_bpf_perf_event()
233 struct perf_event_attr attr_type_raw = { in test_bpf_perf_event()
240 struct perf_event_attr attr_type_raw_lock_load = { in test_bpf_perf_event()
/Linux-v4.19/tools/perf/util/
Dpmu.h20 struct perf_event_attr;
27 struct perf_event_attr *default_config;
63 int perf_pmu__config(struct perf_pmu *pmu, struct perf_event_attr *attr,
67 struct perf_event_attr *attr,
93 struct perf_event_attr *perf_pmu__get_default_config(struct perf_pmu *pmu);
Dintel-pt.h46 struct perf_event_attr;
54 struct perf_event_attr *intel_pt_pmu_default_config(struct perf_pmu *pmu);
Devsel.h93 struct perf_event_attr attr;
195 struct perf_evsel *perf_evsel__new_idx(struct perf_event_attr *attr, int idx);
197 static inline struct perf_evsel *perf_evsel__new(struct perf_event_attr *attr) in perf_evsel__new()
217 struct perf_event_attr *attr, int idx);
479 int perf_event_attr__fprintf(FILE *fp, struct perf_event_attr *attr,
/Linux-v4.19/kernel/events/
Dhw_breakpoint.c404 const struct perf_event_attr *attr, in hw_breakpoint_parse()
454 register_user_hw_breakpoint(struct perf_event_attr *attr, in register_user_hw_breakpoint()
464 static void hw_breakpoint_copy_attr(struct perf_event_attr *to, in hw_breakpoint_copy_attr()
465 struct perf_event_attr *from) in hw_breakpoint_copy_attr()
474 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr, in modify_user_hw_breakpoint_check()
485 struct perf_event_attr old_attr; in modify_user_hw_breakpoint_check()
510 int modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr) in modify_user_hw_breakpoint()
554 register_wide_hw_breakpoint(struct perf_event_attr *attr, in register_wide_hw_breakpoint()
/Linux-v4.19/arch/xtensa/include/asm/
Dhw_breakpoint.h33 struct perf_event_attr;
41 const struct perf_event_attr *attr,
/Linux-v4.19/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c41 static inline int sys_perf_event_open(struct perf_event_attr *attr, pid_t pid, in sys_perf_event_open()
51 struct perf_event_attr attr; in breakpoint_test()
82 struct perf_event_attr attr; in runtestsingle()
/Linux-v4.19/arch/x86/include/asm/
Dhw_breakpoint.h52 struct perf_event_attr;
58 const struct perf_event_attr *attr,
/Linux-v4.19/arch/sh/include/asm/
Dhw_breakpoint.h43 struct perf_event_attr;
59 const struct perf_event_attr *attr,
/Linux-v4.19/kernel/
Dwatchdog_hld.c101 static struct perf_event_attr wd_hw_attr = {
104 .size = sizeof(struct perf_event_attr),
168 struct perf_event_attr *wd_attr; in hardlockup_detector_event_create()
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-bus-event_source-devices-format7 perf_event_attr::config[012] for a particular pmu.
20 perf_event_attr::config1.
/Linux-v4.19/arch/powerpc/include/asm/
Dhw_breakpoint.h55 struct perf_event_attr;
67 const struct perf_event_attr *attr,
/Linux-v4.19/tools/perf/arch/arm64/util/
Darm-spe.c201 struct perf_event_attr
204 struct perf_event_attr *attr; in arm_spe_pmu_default_config()
206 attr = zalloc(sizeof(struct perf_event_attr)); in arm_spe_pmu_default_config()
/Linux-v4.19/drivers/oprofile/
Dnmi_timer_int.c21 static struct perf_event_attr nmi_timer_attr = {
24 .size = sizeof(struct perf_event_attr),
Doprofile_perf.c23 struct perf_event_attr attr;
61 u32 size = sizeof(struct perf_event_attr); in op_perf_setup()
62 struct perf_event_attr *attr; in op_perf_setup()
/Linux-v4.19/arch/arm/include/asm/
Dhw_breakpoint.h114 struct perf_event_attr;
123 const struct perf_event_attr *attr,
/Linux-v4.19/arch/arm64/include/asm/
Dhw_breakpoint.h122 struct perf_event_attr;
130 const struct perf_event_attr *attr,
/Linux-v4.19/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
/Linux-v4.19/tools/perf/arch/x86/util/
Dpmu.c11 struct perf_event_attr *perf_pmu__get_default_config(struct perf_pmu *pmu __maybe_unused) in perf_pmu__get_default_config()
/Linux-v4.19/tools/perf/arch/arm/util/
Dpmu.c15 struct perf_event_attr

12345