Re: [PATCH 2/5] tracing/uprobes: Move argument fetching to uprobe_dispatcher()

2014-02-06 Thread Masami Hiramatsu
(2014/01/17 17:08), Namhyung Kim wrote: > A single uprobe event might serve different users like ftrace and > perf. And this is especially important for upcoming multi buffer > support. But in this case it'll fetch (same) data from userspace > multiple times. So move it to the beginning of the

Re: [PATCH 2/5] tracing/uprobes: Move argument fetching to uprobe_dispatcher()

2014-02-06 Thread Masami Hiramatsu
(2014/01/17 17:08), Namhyung Kim wrote: A single uprobe event might serve different users like ftrace and perf. And this is especially important for upcoming multi buffer support. But in this case it'll fetch (same) data from userspace multiple times. So move it to the beginning of the

[PATCH 2/5] tracing/uprobes: Move argument fetching to uprobe_dispatcher()

2014-01-17 Thread Namhyung Kim
A single uprobe event might serve different users like ftrace and perf. And this is especially important for upcoming multi buffer support. But in this case it'll fetch (same) data from userspace multiple times. So move it to the beginning of the dispatcher function and reuse it for each users.

[PATCH 2/5] tracing/uprobes: Move argument fetching to uprobe_dispatcher()

2014-01-17 Thread Namhyung Kim
A single uprobe event might serve different users like ftrace and perf. And this is especially important for upcoming multi buffer support. But in this case it'll fetch (same) data from userspace multiple times. So move it to the beginning of the dispatcher function and reuse it for each users.