On 9/18/14, 2:36 PM, Arnaldo Carvalho de Melo wrote:

Ok, so you want to see what is the wait channel and unwind the stack
from there? Is that the case? I.e. again, a sysrq-t equivalent?

Milian want is to grab samples every timer expiration even if process is not
running.

What for? And by "grab samples" you want to know where it is waiting for
something, together with its callchain?

Any limitations that would prevent doing this with a sw event? e.g, mimic
task-clock just don't disable the timer when the task is scheduled out.

I'm just trying to figure out if what people want is a complete
backtrace of all threads in a process, no matter what they are doing, at
some given time, i.e. at "sysrq-t" time, is that the case?

This has been discussed before:
   http://thread.gmane.org/gmane.linux.kernel/1307306

Example on the perf wiki:
    https://perf.wiki.kernel.org/index.php/Tutorial#Profiling_sleep_times


David
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to