Messages in this thread | | | Date | Fri, 14 Oct 2011 12:12:27 -0700 | From | Arun Sharma <> | Subject | Re: [PATCH 2/4] trace: prepare to collect call chains of non-current task. |
| |
On Mon, Sep 26, 2011 at 07:55:33PM +0400, Andrew Vagin wrote: > This patch adds argument "task" to all functions between perf_tp_event() > and perf_callchain(). All logic is in the next patch. > > We need "task" and "regs" simultaneously, because regs contains > state of current task, before it entered in perf code. Task contains > pointer to task_struct and it will be used for collecting call chains > and filling event data, if task isn't current. > > Signed-off-by: Andrew Vagin <avagin@openvz.org>
Acked-by: Arun Sharma <asharma@fb.com>
| |