perf/x86/64: Do report user_regs->cx while we are in syscall, in get_regs_user()
authorDenys Vlasenko <dvlasenk@redhat.com>
Fri, 10 Apr 2015 13:06:57 +0000 (15:06 +0200)
committerIngo Molnar <mingo@kernel.org>
Sat, 11 Apr 2015 11:08:53 +0000 (13:08 +0200)
commit5df71b396b2d1fdd9d9f5a33e2eda5dc27c5632d
treeef5f48fd8d5d65ca156c92017de1aa7b1f7bf70a
parentaa21df0424468dbd991440d41ba0f700c5997103
perf/x86/64: Do report user_regs->cx while we are in syscall, in get_regs_user()

Yes, it is true that cx contains return address.
It's not clear why we trash it.
Stop doing that.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1428671219-29341-2-git-send-email-dvlasenk@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/perf_regs.c