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

Ingo Molnar
2014-05-06T06:23:57Z

* Dongsheng Yang <yangds.fnst@cn.fujitsu.com> 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:

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

Thanks,

Ingo