diff options
author | Josh Poimboeuf <[email protected]> | 2018-02-20 11:37:53 -0600 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-21 16:54:06 +0100 |
commit | 9fbcc57aa16424ef84cb54e0d9db3221763de88a (patch) | |
tree | 9606cd83a450c2ff03dfb9c83f30f6906d396e33 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dc1dd184c2f0016bec35c0d7a48c057e0ad763d3 (diff) |
extable: Make init_kernel_text() global
Convert init_kernel_text() to a global function and use it in a few
places instead of manually comparing _sinittext and _einittext.
Note that kallsyms.h has a very similar function called
is_kernel_inittext(), but its end check is inclusive. I'm not sure
whether that's intentional behavior, so I didn't touch it.
Suggested-by: Jason Baron <[email protected]>
Signed-off-by: Josh Poimboeuf <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Acked-by: Steven Rostedt (VMware) <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/4335d02be8d45ca7d265d2f174251d0b7ee6c5fd.1519051220.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions