Messages in this thread |  | | | Date | Wed, 16 Apr 2008 14:25:18 -0700 | | From | David Wilder <> | | Subject | Re: [RFC Patch 1/1] debugfs_printk and debugfs_dump interface | |
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.
|  |