p_event 90 arch/x86/include/asm/trace/irq_vectors.h TRACE_EVENT_PERF_PERM(irq_work_exit, is_sampling_event(p_event) ? -EPERM : 0); p_event 3816 drivers/net/ethernet/sfc/ef10.c efx_qword_t event, *p_event; p_event 3827 drivers/net/ethernet/sfc/ef10.c p_event = efx_event(channel, read_ptr); p_event 3828 drivers/net/ethernet/sfc/ef10.c event = *p_event; p_event 3833 drivers/net/ethernet/sfc/ef10.c EFX_SET_QWORD(*p_event); p_event 1260 drivers/net/ethernet/sfc/falcon/farch.c ef4_qword_t event, *p_event; p_event 1271 drivers/net/ethernet/sfc/falcon/farch.c p_event = ef4_event(channel, read_ptr); p_event 1272 drivers/net/ethernet/sfc/falcon/farch.c event = *p_event; p_event 1283 drivers/net/ethernet/sfc/falcon/farch.c EF4_SET_QWORD(*p_event); p_event 1263 drivers/net/ethernet/sfc/farch.c efx_qword_t event, *p_event; p_event 1273 drivers/net/ethernet/sfc/farch.c p_event = efx_event(channel, read_ptr); p_event 1274 drivers/net/ethernet/sfc/farch.c event = *p_event; p_event 1285 drivers/net/ethernet/sfc/farch.c EFX_SET_QWORD(*p_event); p_event 415 include/linux/trace_events.h struct perf_event *p_event) \ p_event 27 kernel/trace/trace_event_perf.c struct perf_event *p_event) p_event 30 kernel/trace/trace_event_perf.c int ret = tp_event->perf_perm(tp_event, p_event); p_event 39 kernel/trace/trace_event_perf.c if (p_event->parent) p_event 52 kernel/trace/trace_event_perf.c if (!is_sampling_event(p_event)) p_event 60 kernel/trace/trace_event_perf.c if (!p_event->attr.exclude_callchain_user) p_event 67 kernel/trace/trace_event_perf.c if (p_event->attr.sample_type & PERF_SAMPLE_STACK_USER) p_event 72 kernel/trace/trace_event_perf.c if (!(p_event->attr.sample_type & PERF_SAMPLE_RAW)) p_event 76 kernel/trace/trace_event_perf.c if (p_event->attach_state == PERF_ATTACH_TASK) { p_event 92 kernel/trace/trace_event_perf.c struct perf_event *p_event) p_event 98 kernel/trace/trace_event_perf.c p_event->tp_event = tp_event; p_event 149 kernel/trace/trace_event_perf.c static void perf_trace_event_unreg(struct perf_event *p_event) p_event 151 kernel/trace/trace_event_perf.c struct trace_event_call *tp_event = p_event->tp_event; p_event 178 kernel/trace/trace_event_perf.c static int perf_trace_event_open(struct perf_event *p_event) p_event 180 kernel/trace/trace_event_perf.c struct trace_event_call *tp_event = p_event->tp_event; p_event 181 kernel/trace/trace_event_perf.c return tp_event->class->reg(tp_event, TRACE_REG_PERF_OPEN, p_event); p_event 184 kernel/trace/trace_event_perf.c static void perf_trace_event_close(struct perf_event *p_event) p_event 186 kernel/trace/trace_event_perf.c struct trace_event_call *tp_event = p_event->tp_event; p_event 187 kernel/trace/trace_event_perf.c tp_event->class->reg(tp_event, TRACE_REG_PERF_CLOSE, p_event); p_event 191 kernel/trace/trace_event_perf.c struct perf_event *p_event) p_event 195 kernel/trace/trace_event_perf.c ret = perf_trace_event_perm(tp_event, p_event); p_event 199 kernel/trace/trace_event_perf.c ret = perf_trace_event_reg(tp_event, p_event); p_event 203 kernel/trace/trace_event_perf.c ret = perf_trace_event_open(p_event); p_event 205 kernel/trace/trace_event_perf.c perf_trace_event_unreg(p_event); p_event 212 kernel/trace/trace_event_perf.c int perf_trace_init(struct perf_event *p_event) p_event 215 kernel/trace/trace_event_perf.c u64 event_id = p_event->attr.config; p_event 223 kernel/trace/trace_event_perf.c ret = perf_trace_event_init(tp_event, p_event); p_event 234 kernel/trace/trace_event_perf.c void perf_trace_destroy(struct perf_event *p_event) p_event 237 kernel/trace/trace_event_perf.c perf_trace_event_close(p_event); p_event 238 kernel/trace/trace_event_perf.c perf_trace_event_unreg(p_event); p_event 243 kernel/trace/trace_event_perf.c int perf_kprobe_init(struct perf_event *p_event, bool is_retprobe) p_event 249 kernel/trace/trace_event_perf.c if (p_event->attr.kprobe_func) { p_event 254 kernel/trace/trace_event_perf.c func, u64_to_user_ptr(p_event->attr.kprobe_func), p_event 268 kernel/trace/trace_event_perf.c func, (void *)(unsigned long)(p_event->attr.kprobe_addr), p_event 269 kernel/trace/trace_event_perf.c p_event->attr.probe_offset, is_retprobe); p_event 276 kernel/trace/trace_event_perf.c ret = perf_trace_event_init(tp_event, p_event); p_event 285 kernel/trace/trace_event_perf.c void perf_kprobe_destroy(struct perf_event *p_event) p_event 288 kernel/trace/trace_event_perf.c perf_trace_event_close(p_event); p_event 289 kernel/trace/trace_event_perf.c perf_trace_event_unreg(p_event); p_event 292 kernel/trace/trace_event_perf.c destroy_local_trace_kprobe(p_event->tp_event); p_event 297 kernel/trace/trace_event_perf.c int perf_uprobe_init(struct perf_event *p_event, p_event 304 kernel/trace/trace_event_perf.c if (!p_event->attr.uprobe_path) p_event 307 kernel/trace/trace_event_perf.c path = strndup_user(u64_to_user_ptr(p_event->attr.uprobe_path), p_event 318 kernel/trace/trace_event_perf.c tp_event = create_local_trace_uprobe(path, p_event->attr.probe_offset, p_event 331 kernel/trace/trace_event_perf.c ret = perf_trace_event_init(tp_event, p_event); p_event 340 kernel/trace/trace_event_perf.c void perf_uprobe_destroy(struct perf_event *p_event) p_event 343 kernel/trace/trace_event_perf.c perf_trace_event_close(p_event); p_event 344 kernel/trace/trace_event_perf.c perf_trace_event_unreg(p_event); p_event 346 kernel/trace/trace_event_perf.c destroy_local_trace_uprobe(p_event->tp_event); p_event 350 kernel/trace/trace_event_perf.c int perf_trace_add(struct perf_event *p_event, int flags) p_event 352 kernel/trace/trace_event_perf.c struct trace_event_call *tp_event = p_event->tp_event; p_event 355 kernel/trace/trace_event_perf.c p_event->hw.state = PERF_HES_STOPPED; p_event 362 kernel/trace/trace_event_perf.c if (!tp_event->class->reg(tp_event, TRACE_REG_PERF_ADD, p_event)) { p_event 371 kernel/trace/trace_event_perf.c hlist_add_head_rcu(&p_event->hlist_entry, list); p_event 377 kernel/trace/trace_event_perf.c void perf_trace_del(struct perf_event *p_event, int flags) p_event 379 kernel/trace/trace_event_perf.c struct trace_event_call *tp_event = p_event->tp_event; p_event 386 kernel/trace/trace_event_perf.c if (!tp_event->class->reg(tp_event, TRACE_REG_PERF_DEL, p_event)) p_event 387 kernel/trace/trace_event_perf.c hlist_del_rcu(&p_event->hlist_entry);