perf scripting python: Add all sample flags to DB export
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 24 Jan 2022 08:41:58 +0000 (10:41 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 15 Feb 2022 20:15:04 +0000 (17:15 -0300)
commitc096fff62d417ee112bb7bba5d65c1e3512f428d
tree0336b4cbec96d0b08d40925771311fd6325352c0
parent95f9bfcf84d808eb621088a376ba02bf77f5fec3
perf scripting python: Add all sample flags to DB export

Currently, the transaction flag (x) is kept separate from branch flags.
Instead of doing the same for the interrupt disabled flags (D and t), add
all flags so that new flags will not need to be handled separately in the
future.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20220124084201.2699795-23-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/scripting-engines/trace-event-python.c