/linux-6.1.9/kernel/events/ |
D | internal.h | 13 struct perf_buffer { struct 61 extern void rb_free(struct perf_buffer *rb); argument 65 struct perf_buffer *rb; in rb_free_rcu() 67 rb = container_of(rcu_head, struct perf_buffer, rcu_head); in rb_free_rcu() 71 static inline void rb_toggle_paused(struct perf_buffer *rb, bool pause) in rb_toggle_paused() 79 extern struct perf_buffer * 82 extern int rb_alloc_aux(struct perf_buffer *rb, struct perf_event *event, 84 extern void rb_free_aux(struct perf_buffer *rb); 85 extern struct perf_buffer *ring_buffer_get(struct perf_event *event); 86 extern void ring_buffer_put(struct perf_buffer *rb); [all …]
|
D | ring_buffer.c | 38 struct perf_buffer *rb = handle->rb; in perf_output_get_handle() 52 struct perf_buffer *rb = handle->rb; in perf_output_put_handle() 154 struct perf_buffer *rb; in __perf_output_begin() 309 ring_buffer_init(struct perf_buffer *rb, long watermark, int flags) in ring_buffer_init() 369 struct perf_buffer *rb; in perf_aux_output_begin() 457 static __always_inline bool rb_need_aux_wakeup(struct perf_buffer *rb) in rb_need_aux_wakeup() 483 struct perf_buffer *rb = handle->rb; in perf_aux_output_end() 540 struct perf_buffer *rb = handle->rb; in perf_aux_output_skip() 577 struct perf_buffer *rb = aux_handle->rb; in perf_output_copy_aux() 634 static void rb_free_aux_page(struct perf_buffer *rb, int idx) in rb_free_aux_page() [all …]
|
D | core.c | 4766 struct perf_buffer *rb); 5456 struct perf_buffer *rb; in perf_poll() 5712 struct perf_buffer *rb; in _perf_ioctl() 5836 struct perf_buffer *rb; in perf_event_init_userpage() 5868 struct perf_buffer *rb; in perf_event_update_userpage() 5919 struct perf_buffer *rb; in perf_mmap_fault() 5952 struct perf_buffer *rb) in ring_buffer_attach() 5954 struct perf_buffer *old_rb = NULL; in ring_buffer_attach() 6014 struct perf_buffer *rb; in ring_buffer_wakeup() 6028 struct perf_buffer *ring_buffer_get(struct perf_event *event) in ring_buffer_get() [all …]
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | test_tcpnotify_user.c | 44 void tcp_notifier_poller(struct perf_buffer *pb) in tcp_notifier_poller() 59 struct perf_buffer *pb = arg; in poller_thread() 75 struct perf_buffer *pb = NULL; in main()
|
/linux-6.1.9/tools/lib/bpf/ |
D | libbpf.h | 1143 struct perf_buffer; 1167 LIBBPF_API struct perf_buffer * 1201 LIBBPF_API struct perf_buffer * 1206 LIBBPF_API void perf_buffer__free(struct perf_buffer *pb); 1207 LIBBPF_API int perf_buffer__epoll_fd(const struct perf_buffer *pb); 1208 LIBBPF_API int perf_buffer__poll(struct perf_buffer *pb, int timeout_ms); 1209 LIBBPF_API int perf_buffer__consume(struct perf_buffer *pb); 1210 LIBBPF_API int perf_buffer__consume_buffer(struct perf_buffer *pb, size_t buf_idx); 1211 LIBBPF_API size_t perf_buffer__buffer_cnt(const struct perf_buffer *pb); 1212 LIBBPF_API int perf_buffer__buffer_fd(const struct perf_buffer *pb, size_t buf_idx); [all …]
|
D | libbpf.c | 11509 struct perf_buffer; 11525 struct perf_buffer *pb; 11534 struct perf_buffer { struct 11549 static void perf_buffer__free_cpu_buf(struct perf_buffer *pb, in perf_buffer__free_cpu_buf() argument 11565 void perf_buffer__free(struct perf_buffer *pb) in perf_buffer__free() 11590 perf_buffer__open_cpu_buf(struct perf_buffer *pb, struct perf_event_attr *attr, in perf_buffer__open_cpu_buf() 11639 static struct perf_buffer *__perf_buffer__new(int map_fd, size_t page_cnt, 11642 struct perf_buffer *perf_buffer__new(int map_fd, size_t page_cnt, in perf_buffer__new() 11671 struct perf_buffer *perf_buffer__new_raw(int map_fd, size_t page_cnt, in perf_buffer__new_raw() 11694 static struct perf_buffer *__perf_buffer__new(int map_fd, size_t page_cnt, in __perf_buffer__new() [all …]
|
/linux-6.1.9/tools/testing/selftests/bpf/benchs/ |
D | bench_ringbufs.c | 344 struct perf_buffer *perfbuf; 451 struct perf_buffer *pb; 460 struct perf_buffer { struct 478 struct perf_buffer *pb = ctx->perfbuf; in perfbuf_custom_consumer() argument
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | xdp_bpf2bpf.c | 44 static void run_xdp_bpf2bpf_pkt_size(int pkt_fd, struct perf_buffer *pb, in run_xdp_bpf2bpf_pkt_size() 112 struct perf_buffer *pb = NULL; in test_xdp_bpf2bpf()
|
D | get_stack_raw_tp.c | 91 struct perf_buffer *pb = NULL; in test_get_stack_raw_tp()
|
D | kfree_skb.c | 65 struct perf_buffer *pb = NULL; in serial_test_kfree_skb()
|
D | perf_buffer.c | 52 struct perf_buffer *pb; in serial_test_perf_buffer()
|
D | unpriv_bpf_disabled.c | 62 struct perf_buffer *perfbuf = NULL; in test_unpriv_bpf_disabled_positive()
|
/linux-6.1.9/samples/bpf/ |
D | trace_output_user.c | 48 struct perf_buffer *pb; in main()
|
D | xdp_sample_pkts_user.c | 24 static struct perf_buffer *pb = NULL;
|
/linux-6.1.9/tools/bpf/runqslower/ |
D | runqslower.c | 115 struct perf_buffer *pb = NULL; in main()
|
/linux-6.1.9/tools/bpf/bpftool/ |
D | map_perf_ring.c | 126 struct perf_buffer *pb; in do_event_pipe()
|
/linux-6.1.9/include/linux/ |
D | perf_event.h | 631 struct perf_buffer; 749 struct perf_buffer *rb; 933 struct perf_buffer *rb;
|