perf evlist: Add (reset,set)_sample_bit methods
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Apr 2016 21:37:45 +0000 (18:37 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Apr 2016 01:18:21 +0000 (22:18 -0300)
commit22c8a376b55f327f7a25a318e87ba9202ba284bf
treeb9c6261ba072cabf1d471e4139954847d763f3b0
parente68ae9cf7d734e669bc0a981b4154f70d29b5059
perf evlist: Add (reset,set)_sample_bit methods

For fiddling with sample_type fields in all evsels in an evlist.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-dg6yavctt0hzl2tsgfb43qsr@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c
tools/perf/util/evlist.h