perf evlist: Display WEIGHT sample type bit
authorJiri Olsa <jolsa@kernel.org>
Wed, 25 Nov 2015 15:36:55 +0000 (16:36 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 26 Nov 2015 19:54:00 +0000 (16:54 -0300)
commitdcdd184b60c3943fb678dcbaf899a26f845901ad
treed4116b5863a454d29ab4d798e5ce10b13bacb0ed
parent6acd8e9271cdeaec458fd4eec4a6765d16e0e61c
perf evlist: Display WEIGHT sample type bit

Adding WIEGHT bit_name call to display sample_type properly.

  $ perf evlist -v
  cpu/mem-loads/pp: ...SNIP... sample_type: IP|TID|TIME|ADDR|ID|CPU|DATA_SRC|WEIGHT ...

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1448465815-27404-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c