diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2008-12-03 02:30:37 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-03 09:09:41 +0100 |
commit | 11e84acc400921743cc8d488e4a265cd98a655c7 (patch) | |
tree | 3f252d74a4d474eef1db73c7c6c947159aec3aee /drivers/lguest | |
parent | 62679efe0a5f02987a621942afc5979a80a6ca5a (diff) |
tracing/function-graph-tracer: display unified style cmdline and pid
Impact: extend function-graph output: let one know which thread called a function
This patch implements a helper function to print the couple cmdline/pid.
Its output is provided during task switching and on each row if the new
"funcgraph-proc" defualt-off option is set through trace_options file.
The output is center aligned and never exceeds 14 characters. The cmdline
is truncated over 7 chars.
But note that if the pid exceeds 6 characters, the column will overflow (but
the situation is abnormal).
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions