Skip to content

Commit c83e2d9

Browse files
olsajiriAlexei Starovoitov
authored andcommitted
bpf: Add tracepoints with null-able arguments
Some of the tracepoints slipped when we did the first scan, adding them now. Fixes: 838a10b ("bpf: Augment raw_tp arguments with PTR_MAYBE_NULL") Signed-off-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/r/20250210175913.2893549-1-jolsa@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
1 parent f18169c commit c83e2d9

File tree

1 file changed

+99
-0
lines changed

1 file changed

+99
-0
lines changed

kernel/bpf/btf.c

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6505,6 +6505,8 @@ static const struct bpf_raw_tp_null_args raw_tp_null_args[] = {
65056505
/* rxrpc */
65066506
{ "rxrpc_recvdata", 0x1 },
65076507
{ "rxrpc_resend", 0x10 },
6508+
{ "rxrpc_tq", 0x10 },
6509+
{ "rxrpc_client", 0x1 },
65086510
/* sunrpc */
65096511
{ "xs_stream_read_data", 0x1 },
65106512
/* ... from xprt_cong_event event class */
@@ -6525,6 +6527,103 @@ static const struct bpf_raw_tp_null_args raw_tp_null_args[] = {
65256527
{ "mr_integ_alloc", 0x2000 },
65266528
/* bpf_testmod */
65276529
{ "bpf_testmod_test_read", 0x0 },
6530+
/* amdgpu */
6531+
{ "amdgpu_vm_bo_map", 0x1 },
6532+
{ "amdgpu_vm_bo_unmap", 0x1 },
6533+
/* netfs */
6534+
{ "netfs_folioq", 0x1 },
6535+
/* xfs from xfs_defer_pending_class */
6536+
{ "xfs_defer_create_intent", 0x1 },
6537+
{ "xfs_defer_cancel_list", 0x1 },
6538+
{ "xfs_defer_pending_finish", 0x1 },
6539+
{ "xfs_defer_pending_abort", 0x1 },
6540+
{ "xfs_defer_relog_intent", 0x1 },
6541+
{ "xfs_defer_isolate_paused", 0x1 },
6542+
{ "xfs_defer_item_pause", 0x1 },
6543+
{ "xfs_defer_item_unpause", 0x1 },
6544+
/* xfs from xfs_defer_pending_item_class */
6545+
{ "xfs_defer_add_item", 0x1 },
6546+
{ "xfs_defer_cancel_item", 0x1 },
6547+
{ "xfs_defer_finish_item", 0x1 },
6548+
/* xfs from xfs_icwalk_class */
6549+
{ "xfs_ioc_free_eofblocks", 0x10 },
6550+
{ "xfs_blockgc_free_space", 0x10 },
6551+
/* xfs from xfs_btree_cur_class */
6552+
{ "xfs_btree_updkeys", 0x100 },
6553+
{ "xfs_btree_overlapped_query_range", 0x100 },
6554+
/* xfs from xfs_imap_class*/
6555+
{ "xfs_map_blocks_found", 0x10000 },
6556+
{ "xfs_map_blocks_alloc", 0x10000 },
6557+
{ "xfs_iomap_alloc", 0x1000 },
6558+
{ "xfs_iomap_found", 0x1000 },
6559+
/* xfs from xfs_fs_class */
6560+
{ "xfs_inodegc_flush", 0x1 },
6561+
{ "xfs_inodegc_push", 0x1 },
6562+
{ "xfs_inodegc_start", 0x1 },
6563+
{ "xfs_inodegc_stop", 0x1 },
6564+
{ "xfs_inodegc_queue", 0x1 },
6565+
{ "xfs_inodegc_throttle", 0x1 },
6566+
{ "xfs_fs_sync_fs", 0x1 },
6567+
{ "xfs_blockgc_start", 0x1 },
6568+
{ "xfs_blockgc_stop", 0x1 },
6569+
{ "xfs_blockgc_worker", 0x1 },
6570+
{ "xfs_blockgc_flush_all", 0x1 },
6571+
/* xfs_scrub */
6572+
{ "xchk_nlinks_live_update", 0x10 },
6573+
/* xfs_scrub from xchk_metapath_class */
6574+
{ "xchk_metapath_lookup", 0x100 },
6575+
/* nfsd */
6576+
{ "nfsd_dirent", 0x1 },
6577+
{ "nfsd_file_acquire", 0x1001 },
6578+
{ "nfsd_file_insert_err", 0x1 },
6579+
{ "nfsd_file_cons_err", 0x1 },
6580+
/* nfs4 */
6581+
{ "nfs4_setup_sequence", 0x1 },
6582+
{ "pnfs_update_layout", 0x10000 },
6583+
{ "nfs4_inode_callback_event", 0x200 },
6584+
{ "nfs4_inode_stateid_callback_event", 0x200 },
6585+
/* nfs from pnfs_layout_event */
6586+
{ "pnfs_mds_fallback_pg_init_read", 0x10000 },
6587+
{ "pnfs_mds_fallback_pg_init_write", 0x10000 },
6588+
{ "pnfs_mds_fallback_pg_get_mirror_count", 0x10000 },
6589+
{ "pnfs_mds_fallback_read_done", 0x10000 },
6590+
{ "pnfs_mds_fallback_write_done", 0x10000 },
6591+
{ "pnfs_mds_fallback_read_pagelist", 0x10000 },
6592+
{ "pnfs_mds_fallback_write_pagelist", 0x10000 },
6593+
/* coda */
6594+
{ "coda_dec_pic_run", 0x10 },
6595+
{ "coda_dec_pic_done", 0x10 },
6596+
/* cfg80211 */
6597+
{ "cfg80211_scan_done", 0x11 },
6598+
{ "rdev_set_coalesce", 0x10 },
6599+
{ "cfg80211_report_wowlan_wakeup", 0x100 },
6600+
{ "cfg80211_inform_bss_frame", 0x100 },
6601+
{ "cfg80211_michael_mic_failure", 0x10000 },
6602+
/* cfg80211 from wiphy_work_event */
6603+
{ "wiphy_work_queue", 0x10 },
6604+
{ "wiphy_work_run", 0x10 },
6605+
{ "wiphy_work_cancel", 0x10 },
6606+
{ "wiphy_work_flush", 0x10 },
6607+
/* hugetlbfs */
6608+
{ "hugetlbfs_alloc_inode", 0x10 },
6609+
/* spufs */
6610+
{ "spufs_context", 0x10 },
6611+
/* kvm_hv */
6612+
{ "kvm_page_fault_enter", 0x100 },
6613+
/* dpu */
6614+
{ "dpu_crtc_setup_mixer", 0x100 },
6615+
/* binder */
6616+
{ "binder_transaction", 0x100 },
6617+
/* bcachefs */
6618+
{ "btree_path_free", 0x100 },
6619+
/* hfi1_tx */
6620+
{ "hfi1_sdma_progress", 0x1000 },
6621+
/* iptfs */
6622+
{ "iptfs_ingress_postq_event", 0x1000 },
6623+
/* neigh */
6624+
{ "neigh_update", 0x10 },
6625+
/* snd_firewire_lib */
6626+
{ "amdtp_packet", 0x100 },
65286627
};
65296628

65306629
bool btf_ctx_access(int off, int size, enum bpf_access_type type,

0 commit comments

Comments
 (0)