Messages in this thread | | | Date | Fri, 10 Jul 2009 13:28:15 +0800 | From | Li Zefan <> | Subject | Re: [PATCH 2/2] tracing/filter: remove empty subsystem and it's directory |
| |
Tom Zanussi wrote: > On Thu, 2009-07-09 at 16:22 +0800, Xiao Guangrong wrote: >> Remove empty subsystem and it's directory when module unload. >> >> Before patch: >> # rmmod trace-events-sample.ko >> # ls sample >> enable filter >> >> After patch: >> # rmmod trace-events-sample.ko >> # ls sample >> ls: cannot access sample: No such file or directory >> >> Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> > > Looks like it does the trick. > > Acked-by: Tom Zanussi <tzanussi@gmail.com> >
It sure does. :)
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
>> --- >> kernel/trace/trace.h | 1 + >> kernel/trace/trace_events.c | 32 +++++++++++++++++++++++++++++++- >> 2 files changed, 32 insertions(+), 1 deletions(-)
| |