summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAbdulla Anam <abdullahanam@codeaurora.org>2016-06-03 17:39:42 +0530
committerKarthikeyan Periasamy <kperiasa@codeaurora.org>2016-08-16 16:54:56 -0700
commita0ecb452f4368ef9d69d8a8d84612021a07d17da (patch)
treef42b8c5879989216520a106561de836ee3173e5a /tools/perf/scripts/python/call-graph-from-postgresql.py
parentc5984ec85c1e095f932f2fdaf5f327a2c1480c9b (diff)
msm: vidc: use %pK instead of %p which respects kptr_restrict sysctl
Hide kernel pointers from unprivileged ussers by using %pK format- specifier instead of %p. This respects the kptr_restrict sysctl setting which is by default on. So by default %pK will print zeroes as address. echo 1 to kptr_restrict to print proper kernel addresses. CRs-Fixed: 987018 Change-Id: I4772257a557c6730ecc0624cbc8e5614e893e9fd Signed-off-by: Abdulla Anam <abdullahanam@codeaurora.org> Signed-off-by: Karthikeyan Periasamy <kperiasa@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions