Received: by 10.223.164.200 with SMTP id h8csp779180wrb; Sun, 5 Nov 2017 21:26:03 -0800 (PST) X-Google-Smtp-Source: ABhQp+QHAA+ZvEROpsuBJL5WOS1mbC36WQz+/vk1Naqe64dzzlUD1iWWU5XFsI+KRQEj96AgcYZe X-Received: by 10.98.111.71 with SMTP id k68mr15481132pfc.91.1509945963764; Sun, 05 Nov 2017 21:26:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509945963; cv=none; d=google.com; s=arc-20160816; b=GwpbetcSSfH2RCiNbF6VPIxLMvj4f+x/inKynhul2rjNtTQ1wpuXUAALMl7pnjEsj1 85V4d0h2U+e2DhzT3aYnsttB6knf2wdiMn3QeC+ycK/00AmWkOcRZdFLG5VSStN11W3Z XJJXETuba7vczzEw0OiqpYCaklYpPa8bD+0jwdDHCv9FTRk/BrbkwCaQgV9wB9Or2wfd 7NGiCJQLRcYN3MF/yx06mR+jvRkeq+IRX6xrjBAo6dE/0lUQH3j16b/xBrxLPQZGKE6H l0E0uMKsCZJNTVQzYNftXUouwHqDhaFPEzC0533/beBYUf2TdNNNhmAlymL+18Z6ddVU MyZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date :arc-authentication-results; bh=w541hhUqQzV1Fr6gaP7XTA6rMpn+hYI3ziExE9tP6Xg=; b=BvMcygMaOK7xm4F1SkXlPQh1rwPP33yadCQ4E+J86QXkOxtV99LCfK/WoZe6zh3/Eq cOBY8wFRVhp+lmPsMc8923E/NnZNhKTKkyF5bOt6XMZipTiO53qk176I4KJZFtWMoEfX D9bXGni/BJNdoguGHfXPX1Zuxeo4QNwuTto4uV/bZIPy/Sj3noK5CqL0u3JicCqui6OF 2lWcU5926Ze64GpQ0V0vsOnREUxJrvx1wFj6ZwQRvB1g33JCJf7ogKM7I5ILLn5FQyKO pPV4WcO3s9vx1tkzpsWkbX3pRtGL31lEafgwq18oOdXWDq5BlhnzNo0wMXvMKFHgtn+L nihw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k71si10801881pgc.376.2017.11.05.21.25.49; Sun, 05 Nov 2017 21:26:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750939AbdKFFZL (ORCPT + 99 others); Mon, 6 Nov 2017 00:25:11 -0500 Received: from mga11.intel.com ([192.55.52.93]:57244 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750715AbdKFFZK (ORCPT ); Mon, 6 Nov 2017 00:25:10 -0500 Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2017 21:25:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,351,1505804400"; d="scan'208";a="169718322" Received: from sofia.sh.intel.com (HELO sofia) ([10.239.147.120]) by orsmga005.jf.intel.com with ESMTP; 05 Nov 2017 21:25:08 -0800 Date: Mon, 6 Nov 2017 13:25:11 +0800 From: "Liu, Changcheng" To: Sergey Senozhatsky , jpoimboe@redhat.com, Petr Mladek , changcheng.liu@intel.com Cc: Andrew Morton , linux-kernel@vger.kernel.org Subject: [PATCH 0001/0001] format idle IP output func+offset/length Message-ID: <20171106052511.GB69364@sofia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kaslr feature is enabled in kernel. Remove kernel text address when dumping idle IP info Signed-off-by: Liu Changcheng Signed-off-by: Jerry Liu 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 From 1583285189293629278@xxx Mon Nov 06 03:20:20 +0000 2017 X-GM-THRID: 1583285189293629278 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread