[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
src
/
kernels
/
4.18.0-553.64.1.el8_10.x86_64
/
include
/
trace
/
events
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📄 9p.h
5,218 B
SET
[ EDIT ]
|
[ DEL ]
📄 afs.h
17,619 B
SET
[ EDIT ]
|
[ DEL ]
📄 alarmtimer.h
2,087 B
SET
[ EDIT ]
|
[ DEL ]
📄 asoc.h
5,300 B
SET
[ EDIT ]
|
[ DEL ]
📄 avc.h
1,292 B
SET
[ EDIT ]
|
[ DEL ]
📄 bcache.h
11,165 B
SET
[ EDIT ]
|
[ DEL ]
📄 block.h
16,779 B
SET
[ EDIT ]
|
[ DEL ]
📄 bpf_test_run.h
1,048 B
SET
[ EDIT ]
|
[ DEL ]
📄 bridge.h
3,509 B
SET
[ EDIT ]
|
[ DEL ]
📄 btrfs.h
49,763 B
SET
[ EDIT ]
|
[ DEL ]
📄 cachefiles.h
8,350 B
SET
[ EDIT ]
|
[ DEL ]
📄 cgroup.h
4,387 B
SET
[ EDIT ]
|
[ DEL ]
📄 clk.h
3,777 B
SET
[ EDIT ]
|
[ DEL ]
📄 cma.h
1,339 B
SET
[ EDIT ]
|
[ DEL ]
📄 compaction.h
8,089 B
SET
[ EDIT ]
|
[ DEL ]
📄 context_tracking.h
1,177 B
SET
[ EDIT ]
|
[ DEL ]
📄 cpuhp.h
1,871 B
SET
[ EDIT ]
|
[ DEL ]
📄 damon.h
1,162 B
SET
[ EDIT ]
|
[ DEL ]
📄 devlink.h
7,376 B
SET
[ EDIT ]
|
[ DEL ]
📄 dma_fence.h
1,700 B
SET
[ EDIT ]
|
[ DEL ]
📄 ext4.h
68,625 B
SET
[ EDIT ]
|
[ DEL ]
📄 f2fs.h
37,224 B
SET
[ EDIT ]
|
[ DEL ]
📄 fib.h
2,285 B
SET
[ EDIT ]
|
[ DEL ]
📄 fib6.h
2,423 B
SET
[ EDIT ]
|
[ DEL ]
📄 filelock.h
7,394 B
SET
[ EDIT ]
|
[ DEL ]
📄 filemap.h
2,804 B
SET
[ EDIT ]
|
[ DEL ]
📄 fs.h
3,373 B
SET
[ EDIT ]
|
[ DEL ]
📄 fs_dax.h
8,456 B
SET
[ EDIT ]
|
[ DEL ]
📄 fscache.h
15,208 B
SET
[ EDIT ]
|
[ DEL ]
📄 fsi.h
2,880 B
SET
[ EDIT ]
|
[ DEL ]
📄 fsi_master_gpio.h
1,576 B
SET
[ EDIT ]
|
[ DEL ]
📄 gpio.h
1,158 B
SET
[ EDIT ]
|
[ DEL ]
📄 host1x.h
5,798 B
SET
[ EDIT ]
|
[ DEL ]
📄 huge_memory.h
4,531 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c.h
4,254 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_mad.h
12,719 B
SET
[ EDIT ]
|
[ DEL ]
📄 ib_umad.h
4,095 B
SET
[ EDIT ]
|
[ DEL ]
📄 initcall.h
1,310 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel-sst.h
2,571 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel_ifs.h
860 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel_iommu.h
2,297 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel_ish.h
556 B
SET
[ EDIT ]
|
[ DEL ]
📄 io_uring.h
12,079 B
SET
[ EDIT ]
|
[ DEL ]
📄 iocost.h
5,044 B
SET
[ EDIT ]
|
[ DEL ]
📄 iommu.h
3,201 B
SET
[ EDIT ]
|
[ DEL ]
📄 ipi.h
2,956 B
SET
[ EDIT ]
|
[ DEL ]
📄 irq.h
3,889 B
SET
[ EDIT ]
|
[ DEL ]
📄 irq_matrix.h
5,055 B
SET
[ EDIT ]
|
[ DEL ]
📄 iscsi.h
2,336 B
SET
[ EDIT ]
|
[ DEL ]
📄 jbd2.h
10,487 B
SET
[ EDIT ]
|
[ DEL ]
📄 kmem.h
7,811 B
SET
[ EDIT ]
|
[ DEL ]
📄 kvm.h
11,423 B
SET
[ EDIT ]
|
[ DEL ]
📄 kyber.h
2,435 B
SET
[ EDIT ]
|
[ DEL ]
📄 libata.h
11,812 B
SET
[ EDIT ]
|
[ DEL ]
📄 lock.h
1,737 B
SET
[ EDIT ]
|
[ DEL ]
📄 mce.h
1,897 B
SET
[ EDIT ]
|
[ DEL ]
📄 mdio.h
1,048 B
SET
[ EDIT ]
|
[ DEL ]
📄 migrate.h
1,958 B
SET
[ EDIT ]
|
[ DEL ]
📄 mlxsw.h
2,682 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmc.h
7,412 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmflags.h
8,509 B
SET
[ EDIT ]
|
[ DEL ]
📄 module.h
2,851 B
SET
[ EDIT ]
|
[ DEL ]
📄 mptcp.h
4,374 B
SET
[ EDIT ]
|
[ DEL ]
📄 napi.h
1,013 B
SET
[ EDIT ]
|
[ DEL ]
📄 neigh.h
5,882 B
SET
[ EDIT ]
|
[ DEL ]
📄 net.h
7,210 B
SET
[ EDIT ]
|
[ DEL ]
📄 net_probe_common.h
1,235 B
SET
[ EDIT ]
|
[ DEL ]
📄 netlink.h
490 B
SET
[ EDIT ]
|
[ DEL ]
📄 nfs.h
13,994 B
SET
[ EDIT ]
|
[ DEL ]
📄 nilfs2.h
5,326 B
SET
[ EDIT ]
|
[ DEL ]
📄 nmi.h
780 B
SET
[ EDIT ]
|
[ DEL ]
📄 objagg.h
4,691 B
SET
[ EDIT ]
|
[ DEL ]
📄 oom.h
3,973 B
SET
[ EDIT ]
|
[ DEL ]
📄 osnoise.h
3,010 B
SET
[ EDIT ]
|
[ DEL ]
📄 page_isolation.h
943 B
SET
[ EDIT ]
|
[ DEL ]
📄 page_pool.h
2,650 B
SET
[ EDIT ]
|
[ DEL ]
📄 page_ref.h
3,034 B
SET
[ EDIT ]
|
[ DEL ]
📄 pagemap.h
2,191 B
SET
[ EDIT ]
|
[ DEL ]
📄 percpu.h
2,669 B
SET
[ EDIT ]
|
[ DEL ]
📄 power.h
12,169 B
SET
[ EDIT ]
|
[ DEL ]
📄 power_cpu_migrate.h
1,625 B
SET
[ EDIT ]
|
[ DEL ]
📄 preemptirq.h
2,163 B
SET
[ EDIT ]
|
[ DEL ]
📄 printk.h
786 B
SET
[ EDIT ]
|
[ DEL ]
📄 pwc.h
1,714 B
SET
[ EDIT ]
|
[ DEL ]
📄 qdisc.h
3,847 B
SET
[ EDIT ]
|
[ DEL ]
📄 qla.h
937 B
SET
[ EDIT ]
|
[ DEL ]
📄 qrtr.h
2,604 B
SET
[ EDIT ]
|
[ DEL ]
📄 random.h
7,621 B
SET
[ EDIT ]
|
[ DEL ]
📄 rcu.h
24,866 B
SET
[ EDIT ]
|
[ DEL ]
📄 rdma.h
4,337 B
SET
[ EDIT ]
|
[ DEL ]
📄 rdma_core.h
7,193 B
SET
[ EDIT ]
|
[ DEL ]
📄 regulator.h
2,456 B
SET
[ EDIT ]
|
[ DEL ]
📄 rpcgss.h
14,712 B
SET
[ EDIT ]
|
[ DEL ]
📄 rpcrdma.h
50,120 B
SET
[ EDIT ]
|
[ DEL ]
📄 rpm.h
2,394 B
SET
[ EDIT ]
|
[ DEL ]
📄 rseq.h
1,288 B
SET
[ EDIT ]
|
[ DEL ]
📄 rtc.h
3,354 B
SET
[ EDIT ]
|
[ DEL ]
📄 rxrpc.h
41,684 B
SET
[ EDIT ]
|
[ DEL ]
📄 sched.h
15,300 B
SET
[ EDIT ]
|
[ DEL ]
📄 scsi.h
12,614 B
SET
[ EDIT ]
|
[ DEL ]
📄 sctp.h
2,634 B
SET
[ EDIT ]
|
[ DEL ]
📄 signal.h
3,486 B
SET
[ EDIT ]
|
[ DEL ]
📄 siox.h
2,041 B
SET
[ EDIT ]
|
[ DEL ]
📄 skb.h
1,863 B
SET
[ EDIT ]
|
[ DEL ]
📄 smbus.h
7,715 B
SET
[ EDIT ]
|
[ DEL ]
📄 sock.h
4,547 B
SET
[ EDIT ]
|
[ DEL ]
📄 sof.h
3,364 B
SET
[ EDIT ]
|
[ DEL ]
📄 sof_intel.h
4,131 B
SET
[ EDIT ]
|
[ DEL ]
📄 spi.h
3,387 B
SET
[ EDIT ]
|
[ DEL ]
📄 spmi.h
3,336 B
SET
[ EDIT ]
|
[ DEL ]
📄 sunrpc.h
56,795 B
SET
[ EDIT ]
|
[ DEL ]
📄 sunrpc_base.h
474 B
SET
[ EDIT ]
|
[ DEL ]
📄 sunvnet.h
3,129 B
SET
[ EDIT ]
|
[ DEL ]
📄 swiotlb.h
1,050 B
SET
[ EDIT ]
|
[ DEL ]
📄 syscalls.h
1,512 B
SET
[ EDIT ]
|
[ DEL ]
📄 target.h
7,697 B
SET
[ EDIT ]
|
[ DEL ]
📄 task.h
1,526 B
SET
[ EDIT ]
|
[ DEL ]
📄 tcp.h
7,111 B
SET
[ EDIT ]
|
[ DEL ]
📄 thermal.h
5,559 B
SET
[ EDIT ]
|
[ DEL ]
📄 thermal_power_allocator.h
3,297 B
SET
[ EDIT ]
|
[ DEL ]
📄 thp.h
2,137 B
SET
[ EDIT ]
|
[ DEL ]
📄 timer.h
10,321 B
SET
[ EDIT ]
|
[ DEL ]
📄 tlb.h
1,439 B
SET
[ EDIT ]
|
[ DEL ]
📄 udp.h
632 B
SET
[ EDIT ]
|
[ DEL ]
📄 ufs.h
7,670 B
SET
[ EDIT ]
|
[ DEL ]
📄 v4l2.h
9,018 B
SET
[ EDIT ]
|
[ DEL ]
📄 vb2.h
1,769 B
SET
[ EDIT ]
|
[ DEL ]
📄 vmscan.h
12,784 B
SET
[ EDIT ]
|
[ DEL ]
📄 vsock_virtio_transport_common.h
3,572 B
SET
[ EDIT ]
|
[ DEL ]
📄 wbt.h
3,907 B
SET
[ EDIT ]
|
[ DEL ]
📄 workqueue.h
2,793 B
SET
[ EDIT ]
|
[ DEL ]
📄 writeback.h
23,341 B
SET
[ EDIT ]
|
[ DEL ]
📄 xdp.h
10,050 B
SET
[ EDIT ]
|
[ DEL ]
📄 xen.h
14,889 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: fscache.h
/* FS-Cache tracepoints * * Copyright (C) 2016 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Licence * as published by the Free Software Foundation; either version * 2 of the Licence, or (at your option) any later version. */ #undef TRACE_SYSTEM #define TRACE_SYSTEM fscache #if !defined(_TRACE_FSCACHE_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_FSCACHE_H #include <linux/fscache.h> #include <linux/tracepoint.h> /* * Define enums for tracing information. */ #ifndef __FSCACHE_DECLARE_TRACE_ENUMS_ONCE_ONLY #define __FSCACHE_DECLARE_TRACE_ENUMS_ONCE_ONLY enum fscache_cookie_trace { fscache_cookie_collision, fscache_cookie_discard, fscache_cookie_get_acquire_parent, fscache_cookie_get_attach_object, fscache_cookie_get_reacquire, fscache_cookie_get_register_netfs, fscache_cookie_put_acquire_nobufs, fscache_cookie_put_dup_netfs, fscache_cookie_put_relinquish, fscache_cookie_put_object, fscache_cookie_put_parent, }; enum fscache_page_trace { fscache_page_cached, fscache_page_inval, fscache_page_maybe_release, fscache_page_radix_clear_store, fscache_page_radix_delete, fscache_page_radix_insert, fscache_page_radix_pend2store, fscache_page_radix_set_pend, fscache_page_uncache, fscache_page_write, fscache_page_write_end, fscache_page_write_end_pend, fscache_page_write_end_noc, fscache_page_write_wait, fscache_page_trace__nr }; enum fscache_op_trace { fscache_op_cancel, fscache_op_cancel_all, fscache_op_cancelled, fscache_op_completed, fscache_op_enqueue_async, fscache_op_enqueue_mythread, fscache_op_gc, fscache_op_init, fscache_op_put, fscache_op_run, fscache_op_signal, fscache_op_submit, fscache_op_submit_ex, fscache_op_work, fscache_op_trace__nr }; enum fscache_page_op_trace { fscache_page_op_alloc_one, fscache_page_op_attr_changed, fscache_page_op_check_consistency, fscache_page_op_invalidate, fscache_page_op_retr_multi, fscache_page_op_retr_one, fscache_page_op_write_one, fscache_page_op_trace__nr }; #endif /* * Declare tracing information enums and their string mappings for display. */ #define fscache_cookie_traces \ EM(fscache_cookie_collision, "*COLLISION*") \ EM(fscache_cookie_discard, "DISCARD") \ EM(fscache_cookie_get_acquire_parent, "GET prn") \ EM(fscache_cookie_get_attach_object, "GET obj") \ EM(fscache_cookie_get_reacquire, "GET raq") \ EM(fscache_cookie_get_register_netfs, "GET net") \ EM(fscache_cookie_put_acquire_nobufs, "PUT nbf") \ EM(fscache_cookie_put_dup_netfs, "PUT dnt") \ EM(fscache_cookie_put_relinquish, "PUT rlq") \ EM(fscache_cookie_put_object, "PUT obj") \ E_(fscache_cookie_put_parent, "PUT prn") #define fscache_page_traces \ EM(fscache_page_cached, "Cached ") \ EM(fscache_page_inval, "InvalPg") \ EM(fscache_page_maybe_release, "MayRels") \ EM(fscache_page_uncache, "Uncache") \ EM(fscache_page_radix_clear_store, "RxCStr ") \ EM(fscache_page_radix_delete, "RxDel ") \ EM(fscache_page_radix_insert, "RxIns ") \ EM(fscache_page_radix_pend2store, "RxP2S ") \ EM(fscache_page_radix_set_pend, "RxSPend ") \ EM(fscache_page_write, "WritePg") \ EM(fscache_page_write_end, "EndPgWr") \ EM(fscache_page_write_end_pend, "EndPgWP") \ EM(fscache_page_write_end_noc, "EndPgNC") \ E_(fscache_page_write_wait, "WtOnWrt") #define fscache_op_traces \ EM(fscache_op_cancel, "Cancel1") \ EM(fscache_op_cancel_all, "CancelA") \ EM(fscache_op_cancelled, "Canclld") \ EM(fscache_op_completed, "Complet") \ EM(fscache_op_enqueue_async, "EnqAsyn") \ EM(fscache_op_enqueue_mythread, "EnqMyTh") \ EM(fscache_op_gc, "GC ") \ EM(fscache_op_init, "Init ") \ EM(fscache_op_put, "Put ") \ EM(fscache_op_run, "Run ") \ EM(fscache_op_signal, "Signal ") \ EM(fscache_op_submit, "Submit ") \ EM(fscache_op_submit_ex, "SubmitX") \ E_(fscache_op_work, "Work ") #define fscache_page_op_traces \ EM(fscache_page_op_alloc_one, "Alloc1 ") \ EM(fscache_page_op_attr_changed, "AttrChg") \ EM(fscache_page_op_check_consistency, "CheckCn") \ EM(fscache_page_op_invalidate, "Inval ") \ EM(fscache_page_op_retr_multi, "RetrMul") \ EM(fscache_page_op_retr_one, "Retr1 ") \ E_(fscache_page_op_write_one, "Write1 ") /* * 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); fscache_cookie_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(fscache_cookie, TP_PROTO(struct fscache_cookie *cookie, enum fscache_cookie_trace where, int usage), TP_ARGS(cookie, where, usage), TP_STRUCT__entry( __field(struct fscache_cookie *, cookie ) __field(struct fscache_cookie *, parent ) __field(enum fscache_cookie_trace, where ) __field(int, usage ) __field(int, n_children ) __field(int, n_active ) __field(u8, flags ) ), TP_fast_assign( __entry->cookie = cookie; __entry->parent = cookie->parent; __entry->where = where; __entry->usage = usage; __entry->n_children = atomic_read(&cookie->n_children); __entry->n_active = atomic_read(&cookie->n_active); __entry->flags = cookie->flags; ), TP_printk("%s c=%p u=%d p=%p Nc=%d Na=%d f=%02x", __print_symbolic(__entry->where, fscache_cookie_traces), __entry->cookie, __entry->usage, __entry->parent, __entry->n_children, __entry->n_active, __entry->flags) ); TRACE_EVENT(fscache_netfs, TP_PROTO(struct fscache_netfs *netfs), TP_ARGS(netfs), TP_STRUCT__entry( __field(struct fscache_cookie *, cookie ) __array(char, name, 8 ) ), TP_fast_assign( __entry->cookie = netfs->primary_index; strncpy(__entry->name, netfs->name, 8); __entry->name[7] = 0; ), TP_printk("c=%p n=%s", __entry->cookie, __entry->name) ); TRACE_EVENT(fscache_acquire, TP_PROTO(struct fscache_cookie *cookie), TP_ARGS(cookie), TP_STRUCT__entry( __field(struct fscache_cookie *, cookie ) __field(struct fscache_cookie *, parent ) __array(char, name, 8 ) __field(int, p_usage ) __field(int, p_n_children ) __field(u8, p_flags ) ), TP_fast_assign( __entry->cookie = cookie; __entry->parent = cookie->parent; __entry->p_usage = atomic_read(&cookie->parent->usage); __entry->p_n_children = atomic_read(&cookie->parent->n_children); __entry->p_flags = cookie->parent->flags; memcpy(__entry->name, cookie->def->name, 8); __entry->name[7] = 0; ), TP_printk("c=%p p=%p pu=%d pc=%d pf=%02x n=%s", __entry->cookie, __entry->parent, __entry->p_usage, __entry->p_n_children, __entry->p_flags, __entry->name) ); TRACE_EVENT(fscache_relinquish, TP_PROTO(struct fscache_cookie *cookie, bool retire), TP_ARGS(cookie, retire), TP_STRUCT__entry( __field(struct fscache_cookie *, cookie ) __field(struct fscache_cookie *, parent ) __field(int, usage ) __field(int, n_children ) __field(int, n_active ) __field(u8, flags ) __field(bool, retire ) ), TP_fast_assign( __entry->cookie = cookie; __entry->parent = cookie->parent; __entry->usage = atomic_read(&cookie->usage); __entry->n_children = atomic_read(&cookie->n_children); __entry->n_active = atomic_read(&cookie->n_active); __entry->flags = cookie->flags; __entry->retire = retire; ), TP_printk("c=%p u=%d p=%p Nc=%d Na=%d f=%02x r=%u", __entry->cookie, __entry->usage, __entry->parent, __entry->n_children, __entry->n_active, __entry->flags, __entry->retire) ); TRACE_EVENT(fscache_enable, TP_PROTO(struct fscache_cookie *cookie), TP_ARGS(cookie), TP_STRUCT__entry( __field(struct fscache_cookie *, cookie ) __field(int, usage ) __field(int, n_children ) __field(int, n_active ) __field(u8, flags ) ), TP_fast_assign( __entry->cookie = cookie; __entry->usage = atomic_read(&cookie->usage); __entry->n_children = atomic_read(&cookie->n_children); __entry->n_active = atomic_read(&cookie->n_active); __entry->flags = cookie->flags; ), TP_printk("c=%p u=%d Nc=%d Na=%d f=%02x", __entry->cookie, __entry->usage, __entry->n_children, __entry->n_active, __entry->flags) ); TRACE_EVENT(fscache_disable, TP_PROTO(struct fscache_cookie *cookie), TP_ARGS(cookie), TP_STRUCT__entry( __field(struct fscache_cookie *, cookie ) __field(int, usage ) __field(int, n_children ) __field(int, n_active ) __field(u8, flags ) ), TP_fast_assign( __entry->cookie = cookie; __entry->usage = atomic_read(&cookie->usage); __entry->n_children = atomic_read(&cookie->n_children); __entry->n_active = atomic_read(&cookie->n_active); __entry->flags = cookie->flags; ), TP_printk("c=%p u=%d Nc=%d Na=%d f=%02x", __entry->cookie, __entry->usage, __entry->n_children, __entry->n_active, __entry->flags) ); TRACE_EVENT(fscache_osm, TP_PROTO(struct fscache_object *object, const struct fscache_state *state, bool wait, bool oob, s8 event_num), TP_ARGS(object, state, wait, oob, event_num), TP_STRUCT__entry( __field(struct fscache_cookie *, cookie ) __field(struct fscache_object *, object ) __array(char, state, 8 ) __field(bool, wait ) __field(bool, oob ) __field(s8, event_num ) ), TP_fast_assign( __entry->cookie = object->cookie; __entry->object = object; __entry->wait = wait; __entry->oob = oob; __entry->event_num = event_num; memcpy(__entry->state, state->short_name, 8); ), TP_printk("c=%p o=%p %s %s%sev=%d", __entry->cookie, __entry->object, __entry->state, __print_symbolic(__entry->wait, { true, "WAIT" }, { false, "WORK" }), __print_symbolic(__entry->oob, { true, " OOB " }, { false, " " }), __entry->event_num) ); TRACE_EVENT(fscache_page, TP_PROTO(struct fscache_cookie *cookie, struct page *page, enum fscache_page_trace why), TP_ARGS(cookie, page, why), TP_STRUCT__entry( __field(struct fscache_cookie *, cookie ) __field(pgoff_t, page ) __field(enum fscache_page_trace, why ) ), TP_fast_assign( __entry->cookie = cookie; __entry->page = page->index; __entry->why = why; ), TP_printk("c=%p %s pg=%lx", __entry->cookie, __print_symbolic(__entry->why, fscache_page_traces), __entry->page) ); TRACE_EVENT(fscache_check_page, TP_PROTO(struct fscache_cookie *cookie, struct page *page, void *val, int n), TP_ARGS(cookie, page, val, n), TP_STRUCT__entry( __field(struct fscache_cookie *, cookie ) __field(void *, page ) __field(void *, val ) __field(int, n ) ), TP_fast_assign( __entry->cookie = cookie; __entry->page = page; __entry->val = val; __entry->n = n; ), TP_printk("c=%p pg=%p val=%p n=%d", __entry->cookie, __entry->page, __entry->val, __entry->n) ); TRACE_EVENT(fscache_wake_cookie, TP_PROTO(struct fscache_cookie *cookie), TP_ARGS(cookie), TP_STRUCT__entry( __field(struct fscache_cookie *, cookie ) ), TP_fast_assign( __entry->cookie = cookie; ), TP_printk("c=%p", __entry->cookie) ); TRACE_EVENT(fscache_op, TP_PROTO(struct fscache_cookie *cookie, struct fscache_operation *op, enum fscache_op_trace why), TP_ARGS(cookie, op, why), TP_STRUCT__entry( __field(struct fscache_cookie *, cookie ) __field(struct fscache_operation *, op ) __field(enum fscache_op_trace, why ) ), TP_fast_assign( __entry->cookie = cookie; __entry->op = op; __entry->why = why; ), TP_printk("c=%p op=%p %s", __entry->cookie, __entry->op, __print_symbolic(__entry->why, fscache_op_traces)) ); TRACE_EVENT(fscache_page_op, TP_PROTO(struct fscache_cookie *cookie, struct page *page, struct fscache_operation *op, enum fscache_page_op_trace what), TP_ARGS(cookie, page, op, what), TP_STRUCT__entry( __field(struct fscache_cookie *, cookie ) __field(pgoff_t, page ) __field(struct fscache_operation *, op ) __field(enum fscache_page_op_trace, what ) ), TP_fast_assign( __entry->cookie = cookie; __entry->page = page ? page->index : 0; __entry->op = op; __entry->what = what; ), TP_printk("c=%p %s pg=%lx op=%p", __entry->cookie, __print_symbolic(__entry->what, fscache_page_op_traces), __entry->page, __entry->op) ); TRACE_EVENT(fscache_wrote_page, TP_PROTO(struct fscache_cookie *cookie, struct page *page, struct fscache_operation *op, int ret), TP_ARGS(cookie, page, op, ret), TP_STRUCT__entry( __field(struct fscache_cookie *, cookie ) __field(pgoff_t, page ) __field(struct fscache_operation *, op ) __field(int, ret ) ), TP_fast_assign( __entry->cookie = cookie; __entry->page = page->index; __entry->op = op; __entry->ret = ret; ), TP_printk("c=%p pg=%lx op=%p ret=%d", __entry->cookie, __entry->page, __entry->op, __entry->ret) ); TRACE_EVENT(fscache_gang_lookup, TP_PROTO(struct fscache_cookie *cookie, struct fscache_operation *op, void **results, int n, pgoff_t store_limit), TP_ARGS(cookie, op, results, n, store_limit), TP_STRUCT__entry( __field(struct fscache_cookie *, cookie ) __field(struct fscache_operation *, op ) __field(pgoff_t, results0 ) __field(int, n ) __field(pgoff_t, store_limit ) ), TP_fast_assign( __entry->cookie = cookie; __entry->op = op; __entry->results0 = results[0] ? ((struct page *)results[0])->index : (pgoff_t)-1; __entry->n = n; __entry->store_limit = store_limit; ), TP_printk("c=%p op=%p r0=%lx n=%d sl=%lx", __entry->cookie, __entry->op, __entry->results0, __entry->n, __entry->store_limit) ); #endif /* _TRACE_FSCACHE_H */ /* This part must be outside protection */ #include <trace/define_trace.h>