Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1168749

Re: [RESEND PATCH 0/4] ppc64 LE ABI v2 ftrace-with-regs implementation

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: [RESEND PATCH 0/4] ppc64 LE ABI v2 ftrace-with-regs implementation
Date 2015-06-19 14:50 +0200
Message-ID <pD3U6-7EF-11@gated-at.bofh.it> (permalink)
References <pA7rc-1YG-11@gated-at.bofh.it> <pCKHN-59O-35@gated-at.bofh.it> <pCYKK-oj-21@gated-at.bofh.it> <pD3r4-75Z-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 19 Jun 2015 14:17:03 +0200
Torsten Duwe <duwe@lst.de> wrote:

> On Fri, Jun 19, 2015 at 10:15:44AM +0300, Denis Kirjanov wrote:
> > 
> > Hi Torsten,
> > 
> > could you provide a description how you did test that.
> 
> Vanilla kernel, those patches on top, built as described to
> Steven in the previous mail (.config attached there, built
> natively on ppc64le ABIv2, mentioned tool versions)
> 

Great that you got it working on your machine. But you need to do it in
a way that you don't break builds of existing machines, with existing
(still supported) compilers.

-- Steve

> make vmlinux, make modules, build initrd
> qemu-system-ppc64 -no-reboot -enable-kvm -m 20480 -kernel vmlinux
>   -initrd initrd.gz -append console=hvc0 -nographic -vga none
> inside:
> cd /sys/kernel/debug/tracing
> mkdir instances/Foo
> cd instances/Foo
> echo function > current_tracer
> 
> current_tracer holds "nop" or "function"; the transition is accompanied 
> by heavy binary patching. When the function tracer is active, almost all
> calls go through ftrace_caller. This should be enough for a start; the
> proper stack frame layout details for the tracer functions still remain
> to be checked...
> 
> 	Torsten

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] resend: ppc64 LE ABI v2 ftrace-with-regs implementation Torsten Duwe <duwe@lst.de> - 2015-06-11 12:00 +0200
  [PATCH 1/4] ppc64 FTRACE_WITH_REGS implementation Torsten Duwe <duwe@lst.de> - 2015-06-11 12:00 +0200
  [PATCH 4/4] ppc64 ftrace_with_regs recursion protection Torsten Duwe <duwe@lst.de> - 2015-06-11 12:10 +0200
  [PATCH 3/4] ppc64 ftrace_with_regs: spare early boot and low level  code Torsten Duwe <duwe@lst.de> - 2015-06-11 12:10 +0200
  [PATCH 2/4] ppc64 ftrace_with_regs configuration variables Torsten Duwe <duwe@lst.de> - 2015-06-11 12:10 +0200
  Re: [RESEND PATCH 0/4] ppc64 LE ABI v2 ftrace-with-regs implementation Denis Kirjanov <kda@linux-powerpc.org> - 2015-06-19 09:20 +0200
    Re: [RESEND PATCH 0/4] ppc64 LE ABI v2 ftrace-with-regs  implementation Steven Rostedt <rostedt@goodmis.org> - 2015-06-19 14:50 +0200
  Re: [RESEND PATCH 0/4] ppc64 LE ABI v2 ftrace-with-regs  implementation Steven Rostedt <rostedt@goodmis.org> - 2015-06-19 14:50 +0200
    Re: [RESEND PATCH 0/4] ppc64 LE ABI v2 ftrace-with-regs  implementation Torsten Duwe <duwe@lst.de> - 2015-06-19 15:20 +0200
  Re: [RESEND PATCH 1/4] ppc64 FTRACE_WITH_REGS implementation Steven Rostedt <rostedt@goodmis.org> - 2015-06-19 15:30 +0200

csiph-web