diff options
author | Baoquan He <[email protected]> | 2018-03-02 13:18:01 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-03-12 09:43:56 +0100 |
commit | c100a583601d357f923c41af5434dc1f8d07890f (patch) | |
tree | 57fdba08df370ee286a6a935dec2e9f624fb4254 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | e9d0e6330eb81ca49bdd8849cc52b3b0f70ed5cb (diff) |
kdump, vmcoreinfo: Export pgtable_l5_enabled value
User-space utilities examining crash-kernels need to know if the
crashed kernel was in 5-level paging mode or not.
So write 'pgtable_l5_enabled' to vmcoreinfo, which covers these
three cases:
pgtable_l5_enabled == 0 when:
- Compiled with !CONFIG_X86_5LEVEL
- Compiled with CONFIG_X86_5LEVEL=y while CPU has no 'la57' flag
pgtable_l5_enabled != 0 when:
- Compiled with CONFIG_X86_5LEVEL=y and CPU has 'la57' flag
Signed-off-by: Baoquan He <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions