perf annotate: Move pcnt_with() to the annotation library
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 15 Mar 2018 15:41:39 +0000 (12:41 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 20 Mar 2018 16:19:28 +0000 (13:19 -0300)
commit6af612d2b10593cdd8bba4427741a981bdd57c86
tree3b51019d57d237a6c196c59c66647176d7772b4d
parent16932d77050fb3d76bc265c21c53eeec14639d5e
perf annotate: Move pcnt_with() to the annotation library

Out of the TUI code, since now all it touches is what is in 'struct
annotation'.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-kh5bbbgd7l4agv9oc5hnw0ui@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c
tools/perf/util/annotate.h