Re: [PATCH 4/7] uprobes/perf: Teach trace_uprobe/perf code to track the active perf_event's

2013-02-11 Thread Srikar Dronamraju
* Oleg Nesterov [2013-02-04 20:02:54]: > Introduce "struct trace_uprobe_filter" which records the "active" > perf_event's attached to ftrace_event_call. For the start we simply > use list_head, we can optimize this later if needed. For example, we > do not really need to record an event with

Re: [PATCH 4/7] uprobes/perf: Teach trace_uprobe/perf code to track the active perf_event's

2013-02-11 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2013-02-04 20:02:54]: Introduce struct trace_uprobe_filter which records the active perf_event's attached to ftrace_event_call. For the start we simply use list_head, we can optimize this later if needed. For example, we do not really need to record an event

[PATCH 4/7] uprobes/perf: Teach trace_uprobe/perf code to track the active perf_event's

2013-02-04 Thread Oleg Nesterov
Introduce "struct trace_uprobe_filter" which records the "active" perf_event's attached to ftrace_event_call. For the start we simply use list_head, we can optimize this later if needed. For example, we do not really need to record an event with ->parent != NULL, we can rely on parent->child_list.

[PATCH 4/7] uprobes/perf: Teach trace_uprobe/perf code to track the active perf_event's

2013-02-04 Thread Oleg Nesterov
Introduce struct trace_uprobe_filter which records the active perf_event's attached to ftrace_event_call. For the start we simply use list_head, we can optimize this later if needed. For example, we do not really need to record an event with -parent != NULL, we can rely on parent-child_list. And