lkml.org 
[lkml]   [2016]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC/PATCH] perf report: Show random usage tip on the help line


On 2016/1/5 13:36, Namhyung Kim wrote:
> Currently perf report only shows a help message "For a higher level
> overview, try: perf report --sort comm,dso" unconditionally (even if
> the sort keys were used). Add more help tips and show randomly.
>
> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
> ---

That's really funny.

Some inconvenience:

1. Tip is never change during one execution of 'perf report', even if
I switch to another view using 'enter' and switch back. It should
better
if tips updated when redrawing.

2. I think add a "Tip: " prefix to the content should be better, or
users may
confuse what he/her doing causes this message

3. What about creating a tools/perf/Documentation/tips.txt and
generate tips
table dynamically?

Thank you.




\
 
 \ /
  Last update: 2016-01-05 08:21    [W:0.237 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site