public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] uprobes: ret-probes + misc
@ 2013-04-15 16:04 Oleg Nesterov
  2013-04-16  9:05 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Oleg Nesterov @ 2013-04-15 16:04 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Ananth N Mavinakayanahalli, Anton Arapov, Frank Eigler,
	Josh Stone, Masami Hiramatsu, Srikar Dronamraju, Steven Rostedt,
	linux-kernel

Ingo, please pull from

  git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core

Mostly uretprobes. "perf probe -x file sym%return" works like kretprobes.
TODO: longjmp() is not supported, currently we assume that the probed
function returns, this needs another series.

Also the powerpc fixes plus a couple of cleanups/optimizations in uprobes
and trace_uprobes.



Ananth N Mavinakayanahalli (3):
      uprobes: Add trap variant helper
      uprobes/powerpc: Teach uprobes to ignore gdb breakpoints
      uprobes/powerpc: Remove additional trap instruction check

Anton Arapov (9):
      uretprobes: Introduce uprobe_consumer->ret_handler()
      uretprobes: Reserve the first slot in xol_vma for trampoline
      uretprobes/x86: Hijack return address
      uretprobes/powerpc: Hijack return address
      uretprobes: Return probe entry, prepare_uretprobe()
      uretprobes: Return probe exit, invoke handlers
      uretprobes: Limit the depth of return probe nestedness
      uretprobes: Remove -ENOSYS as return probes implemented
      uretprobes: Documentation update

Oleg Nesterov (18):
      uprobes: Use file_inode()
      uprobes: Turn copy_opcode() into copy_from_page()
      uprobes: Change __copy_insn() to use copy_from_page()
      uprobes: Kill the unnecesary filp != NULL check in __copy_insn()
      uprobes: Introduce copy_to_page()
      uprobes: Change write_opcode() to use copy_*page()
      uprobes/tracing: Kill the pointless task_pt_regs() calls
      uprobes/tracing: Kill the pointless seq_print_ip_sym() call
      uprobes/tracing: Kill the pointless local_save_flags/preempt_count calls
      uprobes/tracing: Generalize struct uprobe_trace_entry_head
      uprobes/tracing: Introduce uprobe_{trace,perf}_print() helpers
      uprobes/tracing: Introduce is_ret_probe() and uretprobe_dispatcher()
      uprobes/tracing: Make uprobe_{trace,perf}_print() uretprobe-friendly
      uprobes/tracing: Make register_uprobe_event() paths uretprobe-friendly
      uprobes/tracing: Make seq_printf() code uretprobe-friendly
      uprobes/tracing: Change create_trace_uprobe() to support uretprobes
      uprobes/tracing: Don't pass addr=ip to perf_trace_buf_submit()
      uprobes/perf: Avoid perf_trace_buf_prepare/submit if ->perf_events is empty

 Documentation/trace/uprobetracer.txt |  114 ++++++++------
 arch/powerpc/include/asm/uprobes.h   |    1 +
 arch/powerpc/kernel/uprobes.c        |   29 +++-
 arch/x86/include/asm/uprobes.h       |    1 +
 arch/x86/kernel/uprobes.c            |   29 ++++
 include/linux/uprobes.h              |    8 +
 kernel/events/uprobes.c              |  300 ++++++++++++++++++++++++++++------
 kernel/trace/trace.h                 |    5 -
 kernel/trace/trace_uprobe.c          |  203 +++++++++++++++++-------
 9 files changed, 526 insertions(+), 164 deletions(-)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] uprobes: ret-probes + misc
  2013-04-15 16:04 [GIT PULL] uprobes: ret-probes + misc Oleg Nesterov
@ 2013-04-16  9:05 ` Ingo Molnar
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2013-04-16  9:05 UTC (permalink / raw)
  To: Oleg Nesterov
  Cc: Ingo Molnar, Ananth N Mavinakayanahalli, Anton Arapov,
	Frank Eigler, Josh Stone, Masami Hiramatsu, Srikar Dronamraju,
	Steven Rostedt, linux-kernel


* Oleg Nesterov <oleg@redhat.com> wrote:

> Ingo, please pull from
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc uprobes/core
> 
> Mostly uretprobes. "perf probe -x file sym%return" works like kretprobes.
> TODO: longjmp() is not supported, currently we assume that the probed
> function returns, this needs another series.
> 
> Also the powerpc fixes plus a couple of cleanups/optimizations in uprobes
> and trace_uprobes.
> 
> 
> 
> Ananth N Mavinakayanahalli (3):
>       uprobes: Add trap variant helper
>       uprobes/powerpc: Teach uprobes to ignore gdb breakpoints
>       uprobes/powerpc: Remove additional trap instruction check
> 
> Anton Arapov (9):
>       uretprobes: Introduce uprobe_consumer->ret_handler()
>       uretprobes: Reserve the first slot in xol_vma for trampoline
>       uretprobes/x86: Hijack return address
>       uretprobes/powerpc: Hijack return address
>       uretprobes: Return probe entry, prepare_uretprobe()
>       uretprobes: Return probe exit, invoke handlers
>       uretprobes: Limit the depth of return probe nestedness
>       uretprobes: Remove -ENOSYS as return probes implemented
>       uretprobes: Documentation update
> 
> Oleg Nesterov (18):
>       uprobes: Use file_inode()
>       uprobes: Turn copy_opcode() into copy_from_page()
>       uprobes: Change __copy_insn() to use copy_from_page()
>       uprobes: Kill the unnecesary filp != NULL check in __copy_insn()
>       uprobes: Introduce copy_to_page()
>       uprobes: Change write_opcode() to use copy_*page()
>       uprobes/tracing: Kill the pointless task_pt_regs() calls
>       uprobes/tracing: Kill the pointless seq_print_ip_sym() call
>       uprobes/tracing: Kill the pointless local_save_flags/preempt_count calls
>       uprobes/tracing: Generalize struct uprobe_trace_entry_head
>       uprobes/tracing: Introduce uprobe_{trace,perf}_print() helpers
>       uprobes/tracing: Introduce is_ret_probe() and uretprobe_dispatcher()
>       uprobes/tracing: Make uprobe_{trace,perf}_print() uretprobe-friendly
>       uprobes/tracing: Make register_uprobe_event() paths uretprobe-friendly
>       uprobes/tracing: Make seq_printf() code uretprobe-friendly
>       uprobes/tracing: Change create_trace_uprobe() to support uretprobes
>       uprobes/tracing: Don't pass addr=ip to perf_trace_buf_submit()
>       uprobes/perf: Avoid perf_trace_buf_prepare/submit if ->perf_events is empty
> 
>  Documentation/trace/uprobetracer.txt |  114 ++++++++------
>  arch/powerpc/include/asm/uprobes.h   |    1 +
>  arch/powerpc/kernel/uprobes.c        |   29 +++-
>  arch/x86/include/asm/uprobes.h       |    1 +
>  arch/x86/kernel/uprobes.c            |   29 ++++
>  include/linux/uprobes.h              |    8 +
>  kernel/events/uprobes.c              |  300 ++++++++++++++++++++++++++++------
>  kernel/trace/trace.h                 |    5 -
>  kernel/trace/trace_uprobe.c          |  203 +++++++++++++++++-------
>  9 files changed, 526 insertions(+), 164 deletions(-)

Pulled, thanks a lot Oleg!

	Ingo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-16  9:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15 16:04 [GIT PULL] uprobes: ret-probes + misc Oleg Nesterov
2013-04-16  9:05 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox