Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1286968
| From | Steven Rostedt <rostedt@goodmis.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC][PATCH] ppc: Implement save_stack_trace_regs() |
| Date | 2015-12-09 02:30 +0100 |
| Message-ID | <qDBJT-1yr-9@gated-at.bofh.it> (permalink) |
| References | <qDvEt-60F-3@gated-at.bofh.it> <qDANP-XW-5@gated-at.bofh.it> <qDANP-XW-9@gated-at.bofh.it> <qDBqx-1qn-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 09 Dec 2015 12:03:05 +1100 Michael Ellerman <mpe@ellerman.id.au> wrote: > Looks like we actually have: > > #define kernel_stack_pointer(regs) ((regs)->gpr[1]) > > So that would be the most self documenting way to do it I guess, though I've > never actually seen that macro used anywhere before :) Cool, throw that in, and then it will be the first for you ;-) -- Steve -- 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/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[RFC][PATCH] ppc: Implement save_stack_trace_regs() Steven Rostedt <rostedt@goodmis.org> - 2015-12-08 20:00 +0100
Re: [RFC][PATCH] ppc: Implement save_stack_trace_regs() Michael Ellerman <mpe@ellerman.id.au> - 2015-12-09 01:30 +0100
Re: [RFC][PATCH] ppc: Implement save_stack_trace_regs() Steven Rostedt <rostedt@goodmis.org> - 2015-12-09 01:30 +0100
Re: [RFC][PATCH] ppc: Implement save_stack_trace_regs() Michael Ellerman <mpe@ellerman.id.au> - 2015-12-09 02:10 +0100
Re: [RFC][PATCH] ppc: Implement save_stack_trace_regs() Steven Rostedt <rostedt@goodmis.org> - 2015-12-09 02:30 +0100
csiph-web