Remove early tracing for now
RFC PATCH 16/21 Remove early tracing for now
Remove early tracing - for one thing relay doesn't trace any more, for another, relay is pointless without user files, since its purpose now is only to relay, after all.
--- include/linux/relay.h | 6 --- kernel/relay.c | 111 ++++--------------------------------------------- 2 files changed, 8 insertions(+), 109 deletions(-)
include/linux/relay.h +0 -6
@@ -49,7 +49,6 @@ struct rchan_bufsize_t consumed_offset;/* bytes consumed in cur page */ size_t nr_pages;/* number of unconsumed pages */ unsigned int finalized;/* buffer has been finalized */ -size_t early_bytes;/* bytes consumed before VFS inited */ unsigned int cpu;/* this buf's cpu */ }____cacheline_aligned ;
@@ -65,7 +64,6 @@ struct rchanstruct rchan_buf *buf[NR_CPUS ];/* per-cpu channel buffers */ struct list_head list;/* for channel list */ struct dentry *parent;/* parent dentry passed to open */ -int has_base_filename;/* has a filename associated? */ char base_filename[NAME_MAX ];/* saved base filename */ unsigned long flags;/* relay flags for this channel */ };
@@ -177,10 +175,6 @@ extern void relay_flush(struct rchan *chan);extern void relay_close (struct rchan *chan);extern void relay_reset (struct rchan *chan); -extern int relay_late_setup_files (struct rchan *chan, -const char *base_filename, -struct dentry *parent); -/* * exported relay file operations, kernel/relay.c */
kernel/relay.c +8 -103
141 lines not on this page · raw message
Signature · 1 line
1.5.3.5