Commit 3b75232d authored by Denys Vlasenko's avatar Denys Vlasenko Committed by Ingo Molnar

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: default avatarDenys 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-4-git-send-email-dvlasenk@redhat.comSigned-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 32caa060
...@@ -135,6 +135,7 @@ void perf_get_regs_user(struct perf_regs *regs_user, ...@@ -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. * On 32-bit entry points, they are saved too except r8..r11.
*/ */
regs_user_copy->ip = user_regs->ip; regs_user_copy->ip = user_regs->ip;
regs_user_copy->ax = user_regs->ax;
regs_user_copy->cx = user_regs->cx; regs_user_copy->cx = user_regs->cx;
regs_user_copy->dx = user_regs->dx; regs_user_copy->dx = user_regs->dx;
regs_user_copy->si = user_regs->si; regs_user_copy->si = user_regs->si;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment