Re: [PATCH v2 5/6] tracing: Introduce remove_event_file_dir()

2013-07-29 Thread Masami Hiramatsu
(2013/07/27 2:25), Oleg Nesterov wrote: > Preparation for the next patch. Extract the common code from > remove_event_from_tracers() and __trace_remove_event_dirs() > into the new helper, remove_event_file_dir(). > > The patch looks more complicated than it actually is, it also > moves remove_subs

[PATCH v2 5/6] tracing: Introduce remove_event_file_dir()

2013-07-26 Thread Oleg Nesterov
Preparation for the next patch. Extract the common code from remove_event_from_tracers() and __trace_remove_event_dirs() into the new helper, remove_event_file_dir(). The patch looks more complicated than it actually is, it also moves remove_subsystem() up to avoid the forward declaration. Signed