perf annotate: Introduce annotation_line__filter()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 16 Mar 2018 13:39:24 +0000 (10:39 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 20 Mar 2018 18:36:22 +0000 (15:36 -0300)
commit9b80d1f946ee40923f7bf51c69cb3a6ac6097e4a
treeb625629681efcb8ccf873dddf1366ec014795fa0
parentc298304bd747d6a0b733f0becb470ff07ead0317
perf annotate: Introduce annotation_line__filter()

Out of the TUI logic that allows toggling the presentation of source
code lines.

Will be used in the upcoming --stdio2 mode.

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-g0ckz9ajy6unswrv2iy39mxk@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/annotate.c
tools/perf/util/annotate.h