summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-04-25 15:26:28 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2022-05-20 13:54:46 -0400
commit655e60516c2d35e6cd5d2d33856a978e8971fd2f (patch)
treeaff1d86c4ff7e345bb8f7e0c464803d9fd8207d0 /tools/perf/scripts/python/export-to-postgresql.py
parent06559f32b421d6a02b070781faa1c4e149a1fcbe (diff)
lib/string_helpers: string_get_size() now returns characters wrote
printbuf now needs to know the number of characters that would have been written if the buffer was too small, like snprintf(); this changes string_get_size() to return the the return value of snprintf(). 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