summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2026-06-18 13:07:15 -0600
committerAndrew Morton <akpm@linux-foundation.org>2026-08-03 21:10:06 -0700
commitb4e28b4db72c8005baf4bacfeb8fcf686b13154e (patch)
treee0dc52a78f743ee4cf050177dcafdfe9fae115f9 /tools/perf/scripts/python
parentc04cffb8c51618538f0c05c478a931eb6e1a806b (diff)
kernel/params: fix a pr_debug(" %p ") in parse_one()
Inside parse_one(), the core parameter-parsing engine prints the address of the parameter-set callback function using %p: pr_debug("handling %s with %p\n", param, params[i].ops->set); Since the string value of the parameter being parsed (val) is already available, print the parameter name and its value instead, and avoid tainting the kernel by exposing a kernel-ptr. Link: https://lore.kernel.org/20260618190715.3563047-1-jim.cromie@gmail.com Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions