/usr/src/linux-headers-5.15.0-181/include/trace/events
NameSizeModeActions
9p.h52180644editdlrm
afs.h462930644editdlrm
alarmtimer.h20870644editdlrm
asoc.h53420644editdlrm
avc.h12920644editdlrm
bcache.h117120644editdlrm
block.h140000644editdlrm
bpf_test_run.h10480644editdlrm
bridge.h35090644editdlrm
btrfs.h620930644editdlrm
cachefiles.h82730644editdlrm
cgroup.h43870644editdlrm
clk.h51450644editdlrm
cma.h24470644editdlrm
compaction.h80890644editdlrm
context_tracking.h11770644editdlrm
cpuhp.h18710644editdlrm
damon.h10490644editdlrm
devfreq.h19620644editdlrm
devlink.h69800644editdlrm
dma_fence.h17060644editdlrm
erofs.h60700644editdlrm
error_report.h20510644editdlrm
ext4.h735110644editdlrm
f2fs.h505370644editdlrm
fib.h26080644editdlrm
fib6.h24460644editdlrm
filelock.h75470644editdlrm
filemap.h28050644editdlrm
fscache.h145590644editdlrm
fsi.h28800644editdlrm
fsi_master_aspeed.h21090644editdlrm
fsi_master_ast_cf.h37550644editdlrm
fsi_master_gpio.h40170644editdlrm
fs_dax.h84560644editdlrm
gpio.h10990644editdlrm
gpu_mem.h12400644editdlrm
host1x.h56700644editdlrm
huge_memory.h45840644editdlrm
hwmon.h14890644editdlrm
i2c.h40470644editdlrm
ib_mad.h127190644editdlrm
ib_umad.h40950644editdlrm
initcall.h13100644editdlrm
intel-sst.h25710644editdlrm
intel_iommu.h22970644editdlrm
intel_ish.h5560644editdlrm
iocost.h63840644editdlrm
iommu.h31050644editdlrm
io_uring.h127550644editdlrm
ipi.h19240644editdlrm
irq.h38890644editdlrm
irq_matrix.h50550644editdlrm
iscsi.h23360644editdlrm
jbd2.h128550644editdlrm
kmem.h92280644editdlrm
kvm.h114230644editdlrm
kyber.h23240644editdlrm
libata.h118430644editdlrm
lock.h17370644editdlrm
mce.h18970644editdlrm
mdio.h10480644editdlrm
migrate.h28820644editdlrm
mlxsw.h26820644editdlrm
mmap.h13990644editdlrm
mmap_lock.h22170644editdlrm
mmc.h74120644editdlrm
mmflags.h92420644editdlrm
module.h28510644editdlrm
mptcp.h45900644editdlrm
napi.h10110644editdlrm
nbd.h21850644editdlrm
neigh.h71180644editdlrm
net.h81560644editdlrm
netfs.h73580644editdlrm
netlink.h4900644editdlrm
net_probe_common.h12350644editdlrm
nilfs2.h53260644editdlrm
nmi.h7800644editdlrm
objagg.h46910644editdlrm
oom.h50690644editdlrm
osnoise.h30100644editdlrm
pagemap.h21950644editdlrm
page_isolation.h9430644editdlrm
page_pool.h26540644editdlrm
page_ref.h30340644editdlrm
percpu.h26690644editdlrm
power.h110800644editdlrm
power_cpu_migrate.h16250644editdlrm
preemptirq.h21630644editdlrm
printk.h7860644editdlrm
pwc.h17140644editdlrm
pwm.h12380644editdlrm
qdisc.h39310644editdlrm
qla.h9370644editdlrm
qrtr.h26040644editdlrm
rcu.h248670644editdlrm
rdma_core.h71930644editdlrm
regulator.h29000644editdlrm
rpcgss.h147020644editdlrm
rpcrdma.h458480644editdlrm
rpm.h25000644editdlrm
rseq.h12880644editdlrm
rtc.h33540644editdlrm
rxrpc.h439940644editdlrm
sched.h178780644editdlrm
scmi.h22720644editdlrm
scsi.h108470644editdlrm
sctp.h24320644editdlrm
signal.h34860644editdlrm
siox.h20410644editdlrm
skb.h24710644editdlrm
smbus.h75080644editdlrm
sock.h68780644editdlrm
spi.h59510644editdlrm
spmi.h33200644editdlrm
sunrpc.h563410644editdlrm
sunvnet.h31290644editdlrm
swiotlb.h12530644editdlrm
syscalls.h15060644editdlrm
target.h78790644editdlrm
task.h15260644editdlrm
tcp.h95550644editdlrm
tegra_apb_dma.h16450644editdlrm
thermal.h53700644editdlrm
thermal_power_allocator.h32970644editdlrm
thp.h21370644editdlrm
timer.h105920644editdlrm
tlb.h14390644editdlrm
udp.h6320644editdlrm
ufs.h109660644editdlrm
v4l2.h90180644editdlrm
vb2.h17690644editdlrm
vmscan.h115150644editdlrm
vsock_virtio_transport_common.h36780644editdlrm
wbt.h39070644editdlrm
workqueue.h29970644editdlrm
writeback.h237320644editdlrm
xdp.h100500644editdlrm
xen.h142570644editdlrm
Edit: /usr/src/linux-headers-5.15.0-181/include/trace/events/cachefiles.h (8273B)
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* CacheFiles tracepoints * * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #undef TRACE_SYSTEM #define TRACE_SYSTEM cachefiles #if !defined(_TRACE_CACHEFILES_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_CACHEFILES_H #include /* * Define enums for tracing information. */ #ifndef __CACHEFILES_DECLARE_TRACE_ENUMS_ONCE_ONLY #define __CACHEFILES_DECLARE_TRACE_ENUMS_ONCE_ONLY enum cachefiles_obj_ref_trace { cachefiles_obj_put_wait_retry = fscache_obj_ref__nr_traces, cachefiles_obj_put_wait_timeo, cachefiles_obj_ref__nr_traces }; #endif /* * Define enum -> string mappings for display. */ #define cachefiles_obj_kill_traces \ EM(FSCACHE_OBJECT_IS_STALE, "stale") \ EM(FSCACHE_OBJECT_NO_SPACE, "no_space") \ EM(FSCACHE_OBJECT_WAS_RETIRED, "was_retired") \ E_(FSCACHE_OBJECT_WAS_CULLED, "was_culled") #define cachefiles_obj_ref_traces \ EM(fscache_obj_get_add_to_deps, "GET add_to_deps") \ EM(fscache_obj_get_queue, "GET queue") \ EM(fscache_obj_put_alloc_fail, "PUT alloc_fail") \ EM(fscache_obj_put_attach_fail, "PUT attach_fail") \ EM(fscache_obj_put_drop_obj, "PUT drop_obj") \ EM(fscache_obj_put_enq_dep, "PUT enq_dep") \ EM(fscache_obj_put_queue, "PUT queue") \ EM(fscache_obj_put_work, "PUT work") \ EM(cachefiles_obj_put_wait_retry, "PUT wait_retry") \ E_(cachefiles_obj_put_wait_timeo, "PUT wait_timeo") /* * Export enum symbols via userspace. */ #undef EM #undef E_ #define EM(a, b) TRACE_DEFINE_ENUM(a); #define E_(a, b) TRACE_DEFINE_ENUM(a); cachefiles_obj_kill_traces; cachefiles_obj_ref_traces; /* * Now redefine the EM() and E_() macros to map the enums to the strings that * will be printed in the output. */ #undef EM #undef E_ #define EM(a, b) { a, b }, #define E_(a, b) { a, b } TRACE_EVENT(cachefiles_ref, TP_PROTO(struct cachefiles_object *obj, struct fscache_cookie *cookie, enum cachefiles_obj_ref_trace why, int usage), TP_ARGS(obj, cookie, why, usage), /* Note that obj may be NULL */ TP_STRUCT__entry( __field(unsigned int, obj ) __field(unsigned int, cookie ) __field(enum cachefiles_obj_ref_trace, why ) __field(int, usage ) ), TP_fast_assign( __entry->obj = obj->fscache.debug_id; __entry->cookie = cookie->debug_id; __entry->usage = usage; __entry->why = why; ), TP_printk("c=%08x o=%08x u=%d %s", __entry->cookie, __entry->obj, __entry->usage, __print_symbolic(__entry->why, cachefiles_obj_ref_traces)) ); TRACE_EVENT(cachefiles_lookup, TP_PROTO(struct cachefiles_object *obj, struct dentry *de, struct inode *inode), TP_ARGS(obj, de, inode), TP_STRUCT__entry( __field(unsigned int, obj ) __field(struct dentry *, de ) __field(struct inode *, inode ) ), TP_fast_assign( __entry->obj = obj->fscache.debug_id; __entry->de = de; __entry->inode = inode; ), TP_printk("o=%08x d=%p i=%p", __entry->obj, __entry->de, __entry->inode) ); TRACE_EVENT(cachefiles_mkdir, TP_PROTO(struct cachefiles_object *obj, struct dentry *de, int ret), TP_ARGS(obj, de, ret), TP_STRUCT__entry( __field(unsigned int, obj ) __field(struct dentry *, de ) __field(int, ret ) ), TP_fast_assign( __entry->obj = obj->fscache.debug_id; __entry->de = de; __entry->ret = ret; ), TP_printk("o=%08x d=%p r=%u", __entry->obj, __entry->de, __entry->ret) ); TRACE_EVENT(cachefiles_create, TP_PROTO(struct cachefiles_object *obj, struct dentry *de, int ret), TP_ARGS(obj, de, ret), TP_STRUCT__entry( __field(unsigned int, obj ) __field(struct dentry *, de ) __field(int, ret ) ), TP_fast_assign( __entry->obj = obj->fscache.debug_id; __entry->de = de; __entry->ret = ret; ), TP_printk("o=%08x d=%p r=%u", __entry->obj, __entry->de, __entry->ret) ); TRACE_EVENT(cachefiles_unlink, TP_PROTO(struct cachefiles_object *obj, struct dentry *de, enum fscache_why_object_killed why), TP_ARGS(obj, de, why), /* Note that obj may be NULL */ TP_STRUCT__entry( __field(unsigned int, obj ) __field(struct dentry *, de ) __field(enum fscache_why_object_killed, why ) ), TP_fast_assign( __entry->obj = obj ? obj->fscache.debug_id : UINT_MAX; __entry->de = de; __entry->why = why; ), TP_printk("o=%08x d=%p w=%s", __entry->obj, __entry->de, __print_symbolic(__entry->why, cachefiles_obj_kill_traces)) ); TRACE_EVENT(cachefiles_rename, TP_PROTO(struct cachefiles_object *obj, struct dentry *de, struct dentry *to, enum fscache_why_object_killed why), TP_ARGS(obj, de, to, why), /* Note that obj may be NULL */ TP_STRUCT__entry( __field(unsigned int, obj ) __field(struct dentry *, de ) __field(struct dentry *, to ) __field(enum fscache_why_object_killed, why ) ), TP_fast_assign( __entry->obj = obj ? obj->fscache.debug_id : UINT_MAX; __entry->de = de; __entry->to = to; __entry->why = why; ), TP_printk("o=%08x d=%p t=%p w=%s", __entry->obj, __entry->de, __entry->to, __print_symbolic(__entry->why, cachefiles_obj_kill_traces)) ); TRACE_EVENT(cachefiles_mark_active, TP_PROTO(struct cachefiles_object *obj, struct dentry *de), TP_ARGS(obj, de), /* Note that obj may be NULL */ TP_STRUCT__entry( __field(unsigned int, obj ) __field(struct dentry *, de ) ), TP_fast_assign( __entry->obj = obj->fscache.debug_id; __entry->de = de; ), TP_printk("o=%08x d=%p", __entry->obj, __entry->de) ); TRACE_EVENT(cachefiles_wait_active, TP_PROTO(struct cachefiles_object *obj, struct dentry *de, struct cachefiles_object *xobj), TP_ARGS(obj, de, xobj), /* Note that obj may be NULL */ TP_STRUCT__entry( __field(unsigned int, obj ) __field(unsigned int, xobj ) __field(struct dentry *, de ) __field(u16, flags ) __field(u16, fsc_flags ) ), TP_fast_assign( __entry->obj = obj->fscache.debug_id; __entry->de = de; __entry->xobj = xobj->fscache.debug_id; __entry->flags = xobj->flags; __entry->fsc_flags = xobj->fscache.flags; ), TP_printk("o=%08x d=%p wo=%08x wf=%x wff=%x", __entry->obj, __entry->de, __entry->xobj, __entry->flags, __entry->fsc_flags) ); TRACE_EVENT(cachefiles_mark_inactive, TP_PROTO(struct cachefiles_object *obj, struct dentry *de, struct inode *inode), TP_ARGS(obj, de, inode), /* Note that obj may be NULL */ TP_STRUCT__entry( __field(unsigned int, obj ) __field(struct dentry *, de ) __field(struct inode *, inode ) ), TP_fast_assign( __entry->obj = obj->fscache.debug_id; __entry->de = de; __entry->inode = inode; ), TP_printk("o=%08x d=%p i=%p", __entry->obj, __entry->de, __entry->inode) ); TRACE_EVENT(cachefiles_mark_buried, TP_PROTO(struct cachefiles_object *obj, struct dentry *de, enum fscache_why_object_killed why), TP_ARGS(obj, de, why), /* Note that obj may be NULL */ TP_STRUCT__entry( __field(unsigned int, obj ) __field(struct dentry *, de ) __field(enum fscache_why_object_killed, why ) ), TP_fast_assign( __entry->obj = obj ? obj->fscache.debug_id : UINT_MAX; __entry->de = de; __entry->why = why; ), TP_printk("o=%08x d=%p w=%s", __entry->obj, __entry->de, __print_symbolic(__entry->why, cachefiles_obj_kill_traces)) ); #endif /* _TRACE_CACHEFILES_H */ /* This part must be outside protection */ #include