diff options
| author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2025-06-17 13:40:56 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-06-27 11:07:38 +0100 |
| commit | 69482b536fd0c27096ffc6d5530f6992334ca2e1 (patch) | |
| tree | 73689810038df09bc3faf4ac6ab7022d4e9321d3 /include/trace | |
| parent | adbcb0b374e10813156f6f0a709c71c0ed8cb654 (diff) | |
| download | linux-69482b536fd0c27096ffc6d5530f6992334ca2e1.tar.gz linux-69482b536fd0c27096ffc6d5530f6992334ca2e1.tar.bz2 linux-69482b536fd0c27096ffc6d5530f6992334ca2e1.zip | |
erofs: remove unused trace event erofs_destroy_inode
commit 30b58444807c93bffeaba7d776110f2a909d2f9a upstream.
The trace event `erofs_destroy_inode` was added but remains unused. This
unused event contributes approximately 5KB to the kernel module size.
Reported-by: Steven Rostedt <rostedt@goodmis.org>
Closes: https://lore.kernel.org/r/20250612224906.15000244@batman.local.home
Fixes: 13f06f48f7bf ("staging: erofs: support tracepoint")
Cc: stable@vger.kernel.org
Reviewed-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250617054056.3232365-1-hsiangkao@linux.alibaba.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/trace')
| -rw-r--r-- | include/trace/events/erofs.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/trace/events/erofs.h b/include/trace/events/erofs.h index 01d0b8927376..a5e7f79ba557 100644 --- a/include/trace/events/erofs.h +++ b/include/trace/events/erofs.h @@ -232,24 +232,6 @@ DEFINE_EVENT(erofs__map_blocks_exit, z_erofs_map_blocks_iter_exit, TP_ARGS(inode, map, flags, ret) ); -TRACE_EVENT(erofs_destroy_inode, - TP_PROTO(struct inode *inode), - - TP_ARGS(inode), - - TP_STRUCT__entry( - __field( dev_t, dev ) - __field( erofs_nid_t, nid ) - ), - - TP_fast_assign( - __entry->dev = inode->i_sb->s_dev; - __entry->nid = EROFS_I(inode)->nid; - ), - - TP_printk("dev = (%d,%d), nid = %llu", show_dev_nid(__entry)) -); - #endif /* _TRACE_EROFS_H */ /* This part must be outside protection */ |
