diff options
author | Ingo Molnar <[email protected]> | 2020-04-22 12:32:03 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2020-04-23 08:34:18 +0200 |
commit | 894e48cada64ec384873fad4fe1b0d0c7de31a29 (patch) | |
tree | c7cd938c89d94d7efe9df73700fce0e796588087 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0cc9ac8db0b447922d9af77916cd7941fc784b64 (diff) |
objtool: Constify 'struct elf *' parameters
In preparation to parallelize certain parts of objtool, map out which uses
of various data structures are read-only vs. read-write.
As a first step constify 'struct elf' pointer passing, most of the secondary
uses of it in find_symbol_*() methods are read-only.
Also, while at it, better group the 'struct elf' handling methods in elf.h.
Acked-by: Josh Poimboeuf <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sami Tolvanen <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions