Messages in this thread | | | Date | Thu, 19 Mar 2009 19:52:31 -0400 (EDT) | From | Steven Rostedt <> | Subject | Re: [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
| |