lkml.org 
[lkml]   [2009]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/7] tracing: give easy way to clear trace buffer



On Thu, 19 Mar 2009, Frederic Weisbecker wrote:
> >
> > +static ssize_t
> > +tracing_write_stub(struct file *filp, const char __user *ubuf,
> > + size_t count, loff_t *ppos)
> > +{
> > + return count;
> > +}
>
>
> Is this one necessary?
> I guess debugfs or vfs layers already provide a stub for write. No?

Hmm, I wasn't sure if it supplied one or not. I probably should look ;-)

>
> Anyway, that's a small detail for this good patch idea.
>

Thanks,

-- Steve



\
 
 \ /
  Last update: 2009-03-20 00:57    [W:0.290 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site