aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2020-08-26 08:30:55 -0700
committerArnaldo Carvalho de Melo <[email protected]>2020-11-16 14:09:18 -0300
commit29396cd573da08ae9ab0b75925c2f6b3cabb9dfa (patch)
tree49d6b307007eb1a1ecccc2721bfb13607785bb10 /tools/perf/scripts/python
parent3d05181a085c7a070746c838ea25aebf25f17d52 (diff)
perf expr: Force encapsulation on expr_id_data
This patch resolves some undefined behavior where variables in expr_id_data were accessed (for debugging) without being defined. To better enforce the tagged union behavior, the struct is moved into expr.c and accessors provided. Tag values (kinds) are explicitly identified. Signed-off-by: Ian Rogers <[email protected]> Reviewed-By: Kajol Jain<[email protected]> Acked-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions