]> git.baikalelectronics.ru Git - kernel.git/commit
perf hists browser: Rename perf_evsel_browser_title to a more descriptive name
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 2 Apr 2018 17:00:04 +0000 (14:00 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 3 Apr 2018 13:22:42 +0000 (10:22 -0300)
commitae975dd8aa6c57161d91647b96196e75c10ba8c0
tree483310f2eb26c702221114181dfaebc3f772e812
parent9a4b84d265826a8daf6021a5448256b48ea4fc8f
perf hists browser: Rename perf_evsel_browser_title to a more descriptive name

Rename it to hists_browser__scnprintf_title() to better reflect that it
provides a scnprintf-like function operating on a hists_browser
instance.

This paves the way to have a non-hists_browser specific function to
scnprintf format a title with per evsel information to use in other
tools or UIs.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Martin Liška <mliska@suse.cz>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196935
Link: https://lkml.kernel.org/n/tip-sntpyzxsnme9jvuz2qntwoh2@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c