aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJosh Poimboeuf <[email protected]>2020-08-18 15:57:40 +0200
committerIngo Molnar <[email protected]>2020-09-01 09:58:04 +0200
commit563a02b0c9704f69c0364befedd451f57fe88092 (patch)
treefdcbe3a4b47af0b9f3ded278215bb1fbea25c617 /tools/perf/scripts/python/exported-sql-viewer.py
parent0db6e3734b130207026df1e78455fa98ca1d6f50 (diff)
compiler.h: Make __ADDRESSABLE() symbol truly unique
The __ADDRESSABLE() macro uses the __LINE__ macro to create a temporary symbol which has a unique name. However, if the macro is used multiple times from within another macro, the line number will always be the same, resulting in duplicate symbols. Make the temporary symbols truly unique by using __UNIQUE_ID instead of __LINE__. Signed-off-by: Josh Poimboeuf <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions