]> git.baikalelectronics.ru Git - kernel.git/commit
perf top: Ignore kptr_restrict when not sampling the kernel
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 14 Nov 2017 16:30:19 +0000 (13:30 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Nov 2017 17:50:02 +0000 (14:50 -0300)
commit3123c0a9d0a49d4bb70fb6b9322a78cc2b7219d7
treec0268a89b875a701cede29a19805e79e07ec49de
parent965502add360944a3c27de2218dc235f872c0e31
perf top: Ignore kptr_restrict when not sampling the kernel

If all events have attr.exclude_kernel set, no need to look at
kptr_restrict.

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