]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
perf annotate TUI: Fix column header when toggling period/percent
authorTaeung Song <treeze.taeung@gmail.com>
Fri, 28 Jul 2017 15:04:32 +0000 (12:04 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 28 Jul 2017 15:53:08 +0000 (12:53 -0300)
commitf67d395c6e3895c3c8c67c8f7523f6a94d61a82d
treeb997a3a464d43328b759b093492979d4129eb400
parentbc1e5d60cebb711ca3783a87a969d18db376d357
perf annotate TUI: Fix column header when toggling period/percent

We have the 't' hotkey to toggle showing either the total period or the
percentage of samples for a given line, but we forgot to toggle as well
the column header, always showing "Percent", even when showing the
period, fix it.

Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1501172169-6761-1-git-send-email-treeze.taeung@gmail.com
[ Extracted from a larger patch, s/Event count/Period/g ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c