]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitf016d24acd95660ca264e0424c8037391d165553
tree483310f2eb26c702221114181dfaebc3f772e812
parent709846725673a944ee38da1c275a6dfbf0576d0f
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