summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-04-20 13:16:47 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-05-20 13:54:47 -0400
commitcc542d48a5b52686b9a95c88207e4755a614cdb9 (patch)
treedfcd75b40e14c343cf30cc3e67fe873c4688c733 /tools/perf/util/scripting-engines/trace-event-python.c
parent94e7e94e30cd9b3e75e37fb4311b169828adf5aa (diff)
mm/memcontrol.c: Convert to printbuf
This converts memory_stat_format() from seq_buf to printbuf. Printbuf is simalar to seq_buf except that it heap allocates the string buffer: here, we were already heap allocating the buffer with kmalloc() so the conversion is trivial. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions