diff options
author | Yucong Sun <[email protected]> | 2021-09-28 11:42:21 -0700 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-09-28 15:19:22 -0700 |
commit | 09710d82c0a3469eadc32781721ac2336fdf915d (patch) | |
tree | d5bda672678e1b693a87e3b1347b137be4b0613a /tools/perf/scripts/python/flamegraph.py | |
parent | 4e874b119c7908b30355859a3ded7692e7502840 (diff) |
bpftool: Avoid using "?: " in generated code
"?:" is a GNU C extension, some environment has warning flags for its
use, or even prohibit it directly. This patch avoid triggering these
problems by simply expand it to its full form, no functionality change.
Signed-off-by: Yucong Sun <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions