summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorsunliming <sunliming@kylinos.cn>2023-05-25 16:52:32 +0800
committerSteven Rostedt (Google) <rostedt@goodmis.org>2023-06-14 12:41:52 -0400
commite70bb54d7a51299e7feca9169c07d79f9a3fc01d (patch)
tree5c99865fbaf8718c963f231c0d64a29552c3e1cd /tools/perf/scripts/python/export-to-sqlite.py
parentcfac4ed7279d056df6167bd665e460787dc9e0c4 (diff)
tracing: Modify print_fields() for fields output order
Now the print_fields() print trace event fields in reverse order. Modify it to the positive sequence. Example outputs for a user event: test0 u32 count1; u32 count2 Output before: example-2547 [000] ..... 325.666387: test0: count2=0x2 (2) count1=0x1 (1) Output after: example-2742 [002] ..... 429.769370: test0: count1=0x1 (1) count2=0x2 (2) Link: https://lore.kernel.org/linux-trace-kernel/20230525085232.5096-1-sunliming@kylinos.cn Fixes: 80a76994b2d88 ("tracing: Add "fields" option to show raw trace event fields") Signed-off-by: sunliming <sunliming@kylinos.cn> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions