diff options
| author | Vamsi Krishna Samavedam <vskrishn@codeaurora.org> | 2016-11-03 17:06:34 -0700 |
|---|---|---|
| committer | Hemant Kumar <hemantk@codeaurora.org> | 2017-01-04 10:29:58 -0800 |
| commit | 97e9f8a4c8626ec5dc85ea1015b46acfff3685e4 (patch) | |
| tree | 924e149d5c6bd8d8dab7d62a7097f2b497f2a464 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 054b950dfd1c9a33f093b4499438a6f7d19a2716 (diff) | |
usb: host: replace %p with %pK
Format specifier %p can leak kernel addresses while not valuing the
kptr_restrict system settings. When kptr_restrict is set to (1), kernel
pointers printed using the %pK format specifier will be replaced with 0's.
Debugging Note : &pK prints only Zeros as address. If you need actual
address information, write zero to kptr_restrict.
echo 0 > /proc/sys/kernel/kptr_restrict
Change-Id: Ib2b999693224b33241141e290b70724f9e27183f
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
