]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
perf report: Ignore kptr_restrict when not sampling the kernel
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 14 Nov 2017 14:12:11 +0000 (11:12 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 28 Nov 2017 17:24:52 +0000 (14:24 -0300)
commit3f0a4c873cb341d0cb61493d8dec7662bcaa7ca7
tree1f8405d369751f6d8c621fc46ad45aa7b6b81118
parent5b0d1cb40698056f3df8ed579dde4b80c6b7508d
perf report: Ignore kptr_restrict when not sampling the kernel

If none of the evsels has attr.exclude_kernel set to zero, no kernel
samples, so no point in warning the user about problems in processing
kernel samples, as there will be none.

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-7dn926v3at8txxkky92aesz2@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c