aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJohn Ogness <[email protected]>2021-03-03 11:15:18 +0100
committerPetr Mladek <[email protected]>2021-03-08 11:43:05 +0100
commit726b5097701a8d46f5354be780e1a11fc4ca1187 (patch)
tree161c5ccbd684c5de992742078b81c68d117aa172 /tools/perf/scripts/python/export-to-sqlite.py
parente831e400f73b0e7aa4629200c2ef71e068262414 (diff)
printk: refactor kmsg_dump_get_buffer()
kmsg_dump_get_buffer() requires nearly the same logic as syslog_print_all(), but uses different variable names and does not make use of the ringbuffer loop macros. Modify kmsg_dump_get_buffer() so that the implementation is as similar to syslog_print_all() as possible. A follow-up commit will move this common logic into a separate helper function. Signed-off-by: John Ogness <[email protected]> Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Petr Mladek <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions