Messages in this thread | | | Date | Sun, 16 Jun 2013 19:21:28 +0200 | From | Oleg Nesterov <> | Subject | [PATCH 0/3] tracing/kprobes: trace_probe->files cleanups |
| |
Hello.
I simply can't understand why trace_kprobe.c uses "struct ftrace_event_file **", the simple list_head looks much more natural and simple.
And we do not want to copy-and-paste this code to trace_uprobe.c. If there is a reason for array-of-pointers we should create the helpers in the common trace_probe.c so that uprobes can use them too.
Oleg.
kernel/trace/trace_kprobe.c | 171 ++++++++++++------------------------------ 1 files changed, 49 insertions(+), 122 deletions(-)
| |