Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752173AbbDLR1P (ORCPT ); Sun, 12 Apr 2015 13:27:15 -0400 Received: from terminus.zytor.com ([198.137.202.10]:39181 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751769AbbDLR1M (ORCPT ); Sun, 12 Apr 2015 13:27:12 -0400 Date: Sun, 12 Apr 2015 10:26:54 -0700 From: tip-bot for Denys Vlasenko Message-ID: Cc: dvlasenk@redhat.com, tglx@linutronix.de, acme@kernel.org, a.p.zijlstra@chello.nl, hpa@zytor.com, paulus@samba.org, jolsa@redhat.com, mingo@kernel.org, linux-kernel@vger.kernel.org Reply-To: mingo@kernel.org, paulus@samba.org, jolsa@redhat.com, linux-kernel@vger.kernel.org, dvlasenk@redhat.com, tglx@linutronix.de, hpa@zytor.com, a.p.zijlstra@chello.nl, acme@kernel.org In-Reply-To: <1428671219-29341-4-git-send-email-dvlasenk@redhat.com> References: <1428671219-29341-4-git-send-email-dvlasenk@redhat.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:x86/asm] perf/x86/64: Report regs_user-> ax too in get_regs_user() Git-Commit-ID: 3b75232d55680ca166dffa274d0587d5faf0a016 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1650 Lines: 40 Commit-ID: 3b75232d55680ca166dffa274d0587d5faf0a016 Gitweb: http://git.kernel.org/tip/3b75232d55680ca166dffa274d0587d5faf0a016 Author: Denys Vlasenko AuthorDate: Fri, 10 Apr 2015 15:06:59 +0200 Committer: Ingo Molnar CommitDate: Sat, 11 Apr 2015 13:08:53 +0200 perf/x86/64: Report regs_user->ax too in get_regs_user() I don't see why we report e.g. orix_ax, which is not always meaningful, but don't report ax, which is meaningful. Signed-off-by: Denys Vlasenko Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1428671219-29341-4-git-send-email-dvlasenk@redhat.com Signed-off-by: Ingo Molnar --- arch/x86/kernel/perf_regs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/perf_regs.c b/arch/x86/kernel/perf_regs.c index 8157d39..da8cb98 100644 --- a/arch/x86/kernel/perf_regs.c +++ b/arch/x86/kernel/perf_regs.c @@ -135,6 +135,7 @@ void perf_get_regs_user(struct perf_regs *regs_user, * On 32-bit entry points, they are saved too except r8..r11. */ regs_user_copy->ip = user_regs->ip; + regs_user_copy->ax = user_regs->ax; regs_user_copy->cx = user_regs->cx; regs_user_copy->dx = user_regs->dx; regs_user_copy->si = user_regs->si; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/