summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-04-20 13:18:40 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-05-20 13:54:47 -0400
commit7caf0bb4f02cd2e194b9215e4dac838f8ccc04aa (patch)
tree36be2ea3625a0aab98301d6bd0f970443c8c5150 /tools/perf/scripts/python/export-to-postgresql.py
parentcc542d48a5b52686b9a95c88207e4755a614cdb9 (diff)
clk: tegra: bpmp: Convert to printbuf
This converts from seq_buf to printbuf, which is similar but heap allocates the string buffer. Previously in this code the string buffer was allocated on the stack; this means we've added a new potential memory allocation failure. This is fine though since it's only for a dev_printk() message. Memory allocation context: printbuf doesn't take gfp flags, instead we prefer the new memalloc_no*_(save|restore) interfaces to be used. Here the surrounding code is already allocating with GFP_KERNEL, so everything is fine. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions