summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVlastimil Babka <vbabka@suse.cz>2025-02-27 16:05:46 +0100
committerVlastimil Babka <vbabka@suse.cz>2025-03-04 08:53:50 +0100
commit4b183dd9359d5772446cb634b12a383bed98c4fc (patch)
treec5b9aeb020b02377cc3e09751e12f33f7d39b5da /tools/perf/scripts/python/export-to-postgresql.py
parent3f6f32b14ab35452d2ed52f7821cf2829923c98d (diff)
mm, slab: cleanup slab_bug() parameters
slab_err() has variadic printf arguments but instead of passing them to slab_bug() it does vsnprintf() to a buffer and passes %s, buf. To allow passing them directly, turn slab_bug() to __slab_bug() with a va_list parameter, and slab_bug() a wrapper with fmt, ... parameters. Then slab_err() can call __slab_bug() without the intermediate buffer. Also constify fmt everywhere, which also simplifies object_err()'s call to slab_bug(). Signed-off-by: Vlastimil Babka <vbabka@suse.cz> Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions