Re: [PATCH V2] perf tools: Clarify the output of perf sched map.

From: Dongsheng Yang
Date: Tue May 06 2014 - 02:27:05 EST


On 05/06/2014 03:23 PM, Ingo Molnar wrote:
* Dongsheng Yang <yangds.fnst@xxxxxxxxxxxxxx> wrote:

Example:
*A0 228836.978985 secs A0 => perf:23032
* . A0 228836.979016 secs . => swapper:0
. *B0 228836.979099 secs B0 => migration/3:22
*A0 . B0 228836.979115 secs
A0 . * . 228836.979115 secs
A0 *C0 . 228836.979225 secs C0 => ksoftirqd/2:18
A0 *D0 . 228836.979236 secs D0 => rcu_sched:7
One final thing I noticed, please keep vertical alignment intact, i.e.
print:

*A0 228836.978985 secs A0 => perf:23032
* . A0 228836.979016 secs . => swapper:0
. *B0 228836.979099 secs B0 => migration/3:22
(note the extra space and how the arrows now align vertically.)

In the code this could be done via:

Oh, yes. Easy to fix. Thanx Ingo and I will update it now.

+ sched_in->shortname[0] = ' ';
+ sched_in->shortname[1] = '.';
Thanks,

Ingo
--
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/


--
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/