]> git.baikalelectronics.ru Git - kernel.git/commit
perf trace: Warn when trying to resolve kernel addresses with kptr_restrict=1
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 17 May 2016 14:56:24 +0000 (11:56 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 20 May 2016 14:43:54 +0000 (11:43 -0300)
commit35686ba33c5f77c748b5e174ce2bca3143bebaf7
tree3c45e30c29ada6d50f6a779f50dc65bc2760d47e
parentc562d31a086614f37ff19d62cedef6f0b92b7c6f
perf trace: Warn when trying to resolve kernel addresses with kptr_restrict=1

Hook into the libtraceevent plugin kernel symbol resolver to warn the
user that that can't happen with kptr_restrict=1.

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-9gc412xx1gl0lvqj1d1xwlyb@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c
tools/perf/util/machine.c
tools/perf/util/machine.h