Re: [PATCH 3/4] trace: add ability to collect call chain of non-currenttask.

From: Arun Sharma
Date: Thu Dec 15 2011 - 19:16:30 EST


On 12/15/11 11:08 AM, Arun Sharma wrote:

I still need to investigate why per-process mode (command line without
-a) doesn't work. Will send an updated patch once that's fixed.


The per-process mode works fine after moving the trace point to be after:

perf_event_task_sched_in(prev, current);

App developers using this feature here say they're fine not having the block vs sleep distinction because they intend to use it with "-g" and the callstack makes it obvious which one it was.

If we really need this info, we should be able to derive it in user space via perf inject.

-Arun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/