LGTM, but I have a related question. Is there a way I can get a dump of user register status, from ^G, of any blocked process? That way we could build an API to kfunc into, that dumps the trace of any blocked process.
On Thu, Dec 10, 2015 at 8:39 AM, Barret Rhoden <[email protected]> wrote: > This patchset cleans up the backtrace functions a little, and allows the > kernel > to more easily backtrace the user. > > You can now use CTRL-B to backtrace a user process spinning on Core 0. The > kernel will printk the specially-formatted backtrace, and you can use > scripts/bt-akaros.sh to parse the output > > ------------ > You can also find these patches at: > [email protected]:brho/akaros.git > FROM: c69ce7abf662 master > TO: c8a6943551e4 bt-work > > And view them at: > https://github.com/brho/akaros/compare/c69ce7abf662...c8a6943551e4 > > > Barret Rhoden (2): > Refactors backtrace functions [1/2] > Rename backtrace_kframe -> backtrace_hwtf [2/2] > > kern/arch/riscv/kdebug.c | 16 ++++++++-- > kern/arch/x86/init.c | 2 +- > kern/arch/x86/kdebug.c | 55 ++++++++-------------------------- > kern/arch/x86/trap.c | 6 ++-- > kern/arch/x86/trap.h | 1 - > kern/include/kdebug.h | 34 ++++++++++++++++----- > kern/src/kdebug.c | 77 > +++++++++++++++++++++++++++++++++++++++--------- > kern/src/profiler.c | 2 +- > 8 files changed, 120 insertions(+), 73 deletions(-) > > -- > 2.6.0.rc2.230.g3dd15c0 > > -- > You received this message because you are subscribed to the Google Groups > "Akaros" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
