diff options
author | 2020-04-01 13:16:07 +0300 | |
---|---|---|
committer | 2020-04-16 12:19:17 -0300 | |
commit | 8e94b3243a9af2c49a38fd0d6f2f9beb542e41a4 (patch) | |
tree | 74d8d6147c6b04406059e71433e9578f451d6dbd /lib/xarray.c | |
parent | perf thread-stack: Add thread_stack__sample_late() (diff) | |
download | linux-dev-8e94b3243a9af2c49a38fd0d6f2f9beb542e41a4.tar.xz linux-dev-8e94b3243a9af2c49a38fd0d6f2f9beb542e41a4.zip |
perf evsel: Be consistent when looking which evsel PERF_SAMPLE_ bits are set
Using 'type' variable for checking for callchains is equivalent to using
evsel__has_callchain(evsel) and is how the other PERF_SAMPLE_ bits are checked
in this function, so use it to be consistent.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lore.kernel.org/lkml/20200401101613.6201-11-adrian.hunter@intel.com
[ split from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions