summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorPetr Pavlu <petr.pavlu@suse.com>2026-06-04 13:04:45 +0200
committerPetr Pavlu <petr.pavlu@suse.com>2026-08-06 13:29:02 +0200
commit391ef7a88e8fef92ec472db14422468be477f0bb (patch)
tree510c7eaffb36245265b51f5e8a9557487f66efd0 /tools/perf/scripts/python/bin/stackcollapse-record
parenta347812c2ef0fafef587d2580be145d8101a0137 (diff)
xtensa/simdisk: Avoid referring to module::args
When simdisk support is built as a loadable module, simdisk_param_set_filename() receives a pointer into module::args and stores each filename pointer as is. In preparation for removing module::args, update the simdisk.filename parameter code to copy the provided string. This is somewhat complicated by the fact that simdisk support can also be built-in, in which case the parameters are parsed during early boot before slab is available. In that case, the command line itself is preserved for the lifetime of the kernel, so continue storing the incoming pointer directly. Reviewed-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions