[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1285771607-12089-1-git-send-email-jolsa@redhat.com>
Date: Wed, 29 Sep 2010 16:46:45 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: robert.richter@....com
Cc: linux-kernel@...r.kernel.org, oprofile-list@...ts.sourceforge.net,
oleg@...hat.com
Subject: [PATCHv2 0/2] oprofile, x86: allow backtrace for 32bit apps under 64bit kernel
hi,
I'm sending reworked version of the support for backtrace of ia32
applications under 64bit kernels.
updates are based on comments by Robert Richter
v2:
- using struct stack_frame for 64bit processes
- using struct stack_frame_ia32 for compat processes
- added inline function x86_backtrace_32 which is
just empty stub for !CONFIG_COMPAT
- I did not figure out a smart way to share dump code between
32 and 64 bits. I'm currently under impression the code is
so far easy and light enough to live separately and mixing
the code would come with more complexity.
attached patches:
- 1/2 using struct stack_frame for 64bit processes dump
- 2/2 adding backtrace dump for 32bit process in compat mode
please let me know what you think
thanks,
jirka
---
arch/x86/oprofile/backtrace.c | 70 ++++++++++++++++++++++++++++++++++------
1 files changed, 59 insertions(+), 11 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists