Re: [PATCH 1/7] tracing: give easy way to clear trace buffer

From: Steven Rostedt
Date: Thu Mar 19 2009 - 19:52:48 EST





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

--
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/