aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVincenzo Frascino <[email protected]>2020-03-20 14:53:41 +0000
committerThomas Gleixner <[email protected]>2020-03-21 15:24:00 +0100
commitf58dd03b1157bdf3b64c36e9525f8d7f69c25df2 (patch)
treea6a8dfe1e0fa84ee02b3074f11d3887c9cbef46d /tools/perf/scripts/python/exported-sql-viewer.py
parentd8bb6993d871f5d3cd6d65d3772e4b1f4ef17380 (diff)
scripts: Fix the inclusion order in modpost
In the process of creating the source file of a module modpost injects a set of includes that are not required if the compilation unit is statically built into the kernel. The order of inclusion of the headers can cause redefinition problems (e.g.): In file included from include/linux/elf.h:5:0, from include/linux/module.h:18, from crypto/arc4.mod.c:2: #define ELF_OSABI ELFOSABI_LINUX In file included from include/linux/elfnote.h:62:0, from include/linux/build-salt.h:4, from crypto/arc4.mod.c:1: include/uapi/linux/elf.h:363:0: note: this is the location of the previous definition #define ELF_OSABI ELFOSABI_NONE The issue was exposed during the development of the series [1]. [1] https://lore.kernel.org/lkml/[email protected]/ Reported-by: kbuild test robot <[email protected]> Signed-off-by: Vincenzo Frascino <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Michal Marek <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions