lkml.org 
[lkml]   [2008]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2008-04-16 23:27    [W:0.501 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site