Message ID | 20220126095337.570867-12-tz.stoyanov@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 702de131d5ccf4139d4e5bab24f293d82b711b3c |
Headers | show |
Series | trace-cmd dump - v7 update | expand |
diff --git a/tracecmd/trace-dump.c b/tracecmd/trace-dump.c index d6efa425..7ed86f61 100644 --- a/tracecmd/trace-dump.c +++ b/tracecmd/trace-dump.c @@ -980,7 +980,7 @@ static void dump_flyrecord(int fd) die("cannot read the cpu %d offset", i); if (read_file_number(fd, &cpu_size, 8)) die("cannot read the cpu %d size", i); - do_print(FLYRECORD, "\t\t %lld %lld\t[offset, size of cpu %d]\n", + do_print(FLYRECORD, "\t %10.lld %10.lld\t[offset, size of cpu %d]\n", cpu_offset, cpu_size, i); } dump_clock(fd);
The flyrecord dump prints various file offsets and sizes, that can be huge numbers. Add format arguments to align better the output. Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com> --- tracecmd/trace-dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)