summaryrefslogtreecommitdiffstats
path: root/tools/scripts
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-11-14 11:01:06 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-11-28 14:23:43 -0300
commit5b0d1cb40698056f3df8ed579dde4b80c6b7508d (patch)
tree35bb9d67dad9ace3533c1689b5d98574cb97ead4 /tools/scripts
parentd5c5e46aa7a2b256a526f9ce832ffbf622c3c19a (diff)
downloadlinux-5b0d1cb40698056f3df8ed579dde4b80c6b7508d.tar.bz2
perf evlist: Add helper to check if attr.exclude_kernel is set in all evsels
The warning about kptr_restrict needs to be emitted only when it is set and we ask for kernel space samples, so add a helper to help with that. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-fh7drty6yljei9gxxzer6eup@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/scripts')
0 files changed, 0 insertions, 0 deletions