[Bug runtime/32302] kernel.trace("cros_ec_request_start") not recognized with kernel 6.12
mcermak at redhat dot com
sourceware-bugzilla@sourceware.org
Thu Nov 7 12:20:11 GMT 2024
https://sourceware.org/bugzilla/show_bug.cgi?id=32302
--- Comment #2 from Martin Cermak <mcermak at redhat dot com> ---
Created attachment 15784
--> https://sourceware.org/bugzilla/attachment.cgi?id=15784&action=edit
tracepoint list
(In reply to Martin Cermak from comment #0)
> Let's have a look at one such tracepoint: cros_ec_request_start.
I have a patch that doesn't make this specific cros_ec_request_start tracepoint
accessible.
But it makes other 482 tracepoints accessible, see attached list of tracepoints
collected using kernel-6.12.0-0.rc4.20241022gitc2ee9f594da8.40.fc42.x86_64 and
systemtap upstream commit 3e5c0306ccaa277a6bcf189a26789825841a0402 . Here's
the patch:
diff --git a/tapsets.cxx b/tapsets.cxx
index 7dc85ee26..57013d1e1 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -12773,6 +12773,83 @@
tracepoint_builder::get_tracequery_modules(systemtap_session& s,
osrc << "#ifdef CONFIG_TRACEPOINTS" << endl;
osrc << "#include <linux/tracepoint.h>" << endl;
+ osrc << "enum cachefiles_content;" << endl;
+ osrc << "enum extent_type;" << endl;
+ osrc << "struct bch_fs;" << endl;
+ osrc << "struct bch_move_stats;" << endl;
+ osrc << "struct bpos;" << endl;
+ osrc << "struct btree_bkey_cached_common;" << endl;
+ osrc << "struct btree_insert_entry;" << endl;
+ osrc << "struct btree_path;" << endl;
+ osrc << "struct btree_trans;" << endl;
+ osrc << "struct cachefiles_msg;" << endl;
+ osrc << "struct cachefiles_open;" << endl;
+ osrc << "struct cachefiles_read;" << endl;
+ osrc << "struct cachefiles_volume;" << endl;
+ osrc << "struct clk_rate_request;" << endl;
+ osrc << "struct compact_control;" << endl;
+ osrc << "struct fsi_device;" << endl;
+ osrc << "struct fsi_msg;" << endl;
+ osrc << "struct fsi_slave;" << endl;
+ osrc << "struct fuse_req;" << endl;
+ osrc << "struct get_locks_fail;" << endl;
+ osrc << "struct gss_cred;" << endl;
+ osrc << "struct handshake_req;" << endl;
+ osrc << "struct i2c_client;" << endl;
+ osrc << "struct ib_mad_agent_private;" << endl;
+ osrc << "struct ib_mad_qp_info;" << endl;
+ osrc << "struct ib_mad_send_wr_private;" << endl;
+ osrc << "struct ib_smp;" << endl;
+ osrc << "struct iomap;" << endl;
+ osrc << "struct iomap_iter;" << endl;
+ osrc << "struct mctp_sk_key;" << endl;
+ osrc << "struct mptcp_ext;" << endl;
+ osrc << "struct mptcp_subflow_context;" << endl;
+ osrc << "struct nbd_request;" << endl;
+ osrc << "struct netfs_io_request;" << endl;
+ osrc << "struct netfs_io_stream;" << endl;
+ osrc << "struct netfs_io_subrequest;" << endl;
+ osrc << "struct nfs42_clone_args;" << endl;
+ osrc << "struct nfs42_copy_args;" << endl;
+ osrc << "struct nfs42_copy_notify_args;" << endl;
+ osrc << "struct nfs42_copy_notify_res;" << endl;
+ osrc << "struct nfs42_copy_res;" << endl;
+ osrc << "struct nfs42_falloc_args;" << endl;
+ osrc << "struct nfs42_offload_status_args;" << endl;
+ osrc << "struct nfs42_seek_args;" << endl;
+ osrc << "struct nfs42_seek_res;" << endl;
+ osrc << "struct nfs_direct_req;" << endl;
+ osrc << "struct nfs_page;" << endl;
+ osrc << "struct opa_smp;" << endl;
+ osrc << "struct p9_fid;" << endl;
+ osrc << "struct pwc_device;" << endl;
+ osrc << "struct request;" << endl;
+ osrc << "struct rpc_auth;" << endl;
+ osrc << "struct rpc_gss_wire_cred;" << endl;
+ osrc << "struct rpcrdma_ep;" << endl;
+ osrc << "struct rpcrdma_mr;" << endl;
+ osrc << "struct rpcrdma_notification;" << endl;
+ osrc << "struct rpcrdma_rep;" << endl;
+ osrc << "struct rpcrdma_req;" << endl;
+ osrc << "struct rpcrdma_xprt;" << endl;
+ osrc << "struct rpc_rqst;" << endl;
+ osrc << "struct rpc_task;" << endl;
+ osrc << "struct selinux_audit_data;" << endl;
+ osrc << "struct spi_device;" << endl;
+ osrc << "struct svc_rdma_chunk;" << endl;
+ osrc << "struct svc_rdma_recv_ctxt;" << endl;
+ osrc << "struct svc_rdma_segment;" << endl;
+ osrc << "struct svc_rdma_send_ctxt;" << endl;
+ osrc << "struct svc_rqst;" << endl;
+ osrc << "struct svcxprt_rdma;" << endl;
+ osrc << "struct tmigr_cpu;" << endl;
+ osrc << "struct tmigr_group;" << endl;
+ osrc << "struct virtio_gpu_ctrl_hdr;" << endl;
+ osrc << "struct virtqueue;" << endl;
+ osrc << "union ifs_sbaf;" << endl;
+ osrc << "union ifs_sbaf_status;" << endl;
+ osrc << "union tmigr_state;" << endl;
+
// BPF raw tracepoint macros for creating the multiple fields
// of the data struct that describes the raw tracepoint.
// These macros counts up to 12. Any more, it will return 13th argument
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list