summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPengpeng Hou <pengpeng@iscas.ac.cn>2026-06-11 13:59:43 +0800
committerSteven Rostedt <rostedt@goodmis.org>2026-07-28 07:18:49 -0400
commit988995c0552b6213b6bf16cea57258d4842c1488 (patch)
tree066f3ce0cbf80aba0861776fe8264be937433fc8 /tools/perf/scripts/python/export-to-sqlite.py
parentb11d9af16d526a9e56382d6b0a3f09e2c2298981 (diff)
tracing: Use __free() for expr_str() buffer
expr_str() allocates a temporary expression buffer and manually frees it on some error paths. Convert the buffer to __free(kfree) and return it with return_ptr() on success. This keeps ownership handling separate from the later ERR_PTR() conversion and string-bound change. Link: https://patch.msgid.link/20260611055945.22348-2-pengpeng@iscas.ac.cn Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions