perf tools: Add sort__has_comm variable
authorNamhyung Kim <namhyung@kernel.org>
Wed, 9 Mar 2016 14:20:51 +0000 (23:20 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 10 Mar 2016 19:47:19 +0000 (16:47 -0300)
commit078b8d4a406fa8ce4a3c9d5145c27be1ed2b1dfd
tree5c735e21927fe44bac5e175e7e871586c14e7fd2
parentf7fb538afea55383a9383dac5c56887c601af5f4
perf tools: Add sort__has_comm variable

The sort__has_comm variable is to check whether the comm sort key is
given.  This is necessary to support thread filtering in the TUI hists
browser later.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1457533253-21419-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/sort.c
tools/perf/util/sort.h