All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0001/0001] format idle IP output func+offset/length
@ 2017-11-06  5:25 Liu, Changcheng
  2017-11-06  8:05 ` Sergey Senozhatsky
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Liu, Changcheng @ 2017-11-06  5:25 UTC (permalink / raw)
  To: Sergey Senozhatsky, jpoimboe, Petr Mladek, changcheng.liu
  Cc: Andrew Morton, linux-kernel

kaslr feature is enabled in kernel.
Remove kernel text address when dumping idle IP info

Signed-off-by: Liu Changcheng <changcheng.liu@intel.com>
Signed-off-by: Jerry Liu <primerlink@gmail.com>

diff --git a/lib/nmi_backtrace.c b/lib/nmi_backtrace.c
index 0bc0a35..9cc4178 100644
--- a/lib/nmi_backtrace.c
+++ b/lib/nmi_backtrace.c
@@ -92,7 +92,7 @@ bool nmi_cpu_backtrace(struct pt_regs *regs)
 	if (cpumask_test_cpu(cpu, to_cpumask(backtrace_mask))) {
 		arch_spin_lock(&lock);
 		if (regs && cpu_in_idle(instruction_pointer(regs))) {
-			pr_warn("NMI backtrace for cpu %d skipped: idling at pc %#lx\n",
+			pr_warn("NMI backtrace for cpu %d skipped: idling at pc %pS\n",
 				cpu, instruction_pointer(regs));
 		} else {
 			pr_warn("NMI backtrace for cpu %d\n", cpu);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 13+ messages in thread
* [PATCH 0001/0001] format idle IP output func+offset/length
@ 2017-11-06  3:19 Liu, Changcheng
  2017-11-06 12:13 ` Petr Mladek
  0 siblings, 1 reply; 13+ messages in thread
From: Liu, Changcheng @ 2017-11-06  3:19 UTC (permalink / raw)
  To: Sergey Senozhatsky, jpoimboe, Petr Mladek; +Cc: Andrew Morton, linux-kernel

kaslr feature is enabled in kernel.
Remove kernel text address when dumping idle IP info

Signed-off-by: Liu Changcheng <changcheng.liu@intel.com>
Signed-off-by: Jerry Liu <primerlink@gmail.com>

diff --git a/lib/nmi_backtrace.c b/lib/nmi_backtrace.c
index 0bc0a35..9cc4178 100644
--- a/lib/nmi_backtrace.c
+++ b/lib/nmi_backtrace.c
@@ -92,7 +92,7 @@ bool nmi_cpu_backtrace(struct pt_regs *regs)
    if (cpumask_test_cpu(cpu, to_cpumask(backtrace_mask))) {
        arch_spin_lock(&lock);
        if (regs && cpu_in_idle(instruction_pointer(regs))) {
-           pr_warn("NMI backtrace for cpu %d skipped: idling at pc %#lx\n",
+           pr_warn("NMI backtrace for cpu %d skipped: idling at pc %pS\n",
                cpu, instruction_pointer(regs));
        } else {
            pr_warn("NMI backtrace for cpu %d\n", cpu);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-11-09  3:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-06  5:25 [PATCH 0001/0001] format idle IP output func+offset/length Liu, Changcheng
2017-11-06  8:05 ` Sergey Senozhatsky
2017-11-06 10:52   ` Liu, Changcheng
2017-11-06 12:15     ` Petr Mladek
2017-11-06 13:11     ` Josh Poimboeuf
2017-11-06 16:48       ` Liu, Changcheng
2017-11-06 16:56         ` [PATCH v2] lib_backtrace: fix kernel text address leak Liu, Changcheng
2017-11-06 17:14           ` Josh Poimboeuf
2017-11-09  3:10 ` [PATCH 0001/0001] format idle IP output func+offset/length kbuild test robot
2017-11-09  3:29   ` Liu, Changcheng
2017-11-09  3:21 ` kbuild test robot
  -- strict thread matches above, loose matches on Subject: below --
2017-11-06  3:19 Liu, Changcheng
2017-11-06 12:13 ` Petr Mladek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.