diff options
author | Adrian Hunter <[email protected]> | 2018-05-22 13:54:38 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-05-23 10:26:40 -0300 |
commit | f6838209484d5cfb368ca5c61d150cc4054eef59 (patch) | |
tree | 1cd377d375d8c662de4af80ea3140dc3e743a129 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 787e4da9f95fd44376b3af6fa163ac0b3a48a1fc (diff) |
perf kcore_copy: Keep phdr data in a list
Currently, kcore_copy makes 2 program headers, one for the kernel text
(namely kernel_map) and one for the modules (namely modules_map). Now
more program headers are needed, but treating each program header as a
special case results in much more code.
Instead, in preparation to add more program headers, change to keep
program header data (phdr_data) in a list.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions