Re: [RFC Patch 1/1] debugfs_printk and debugfs_dump interface

From: David Wilder
Date: Wed Apr 16 2008 - 17:25:35 EST


K. Prasad wrote:


+
+struct debugfs_printk_data {
+ char *parent_dir;
+ char *dir;
+ int exists;
+ int buf_size;
+ int sub_buf_size;
+};

How about adding a "flags" field here to hold the trace channel flags. Pass the flags through to trace_setup(). This way the caller can control the trace options.

Add a description of debugfs_printk() and debugfs_dump() to Documentation/trace.txt.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/