public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [PATCH -tip perf/probes 00/10] x86 insn decoder bugfixes
@ 2009-10-27 20:42 Masami Hiramatsu
  2009-10-27 20:42 ` [PATCH -tip perf/probes 03/10] x86: Add pclmulq to x86 opcode map Masami Hiramatsu
                   ` (10 more replies)
  0 siblings, 11 replies; 27+ messages in thread
From: Masami Hiramatsu @ 2009-10-27 20:42 UTC (permalink / raw)
  To: Ingo Molnar, Frederic Weisbecker, lkml
  Cc: Steven Rostedt, Jim Keniston, Ananth N Mavinakayanahalli,
	Christoph Hellwig, Frank Ch. Eigler, H. Peter Anvin, Jason Baron,
	K.Prasad, Peter Zijlstra, Srikar Dronamraju, systemtap, DLE

Hi Ingo,

Here are bugfixes and some enhances of x86-insn decoder and perf-probe.
 - x86 insn decoder supports AVX and FMA.
 - perf-probe syntax change.
 - perf-probe supports function-relative line number.
 - minor bugfixes.

New perf-probe syntax is below:

  perf probe 'PROBE'

 or 

  perf probe --add 'PROBE'

 where, PROBE is

  <source>:<line-number>

 or

  <function>[:<rel-lineno>|+<byte-offset>|%return][@<source>]

 e.g.

  perf probe 'schedule:10@kernel/sched.c'

  puts a probe at 10th line from entry line of schedule() function
  in kernel/sched.c." and

  perf probe 'vmalloc%return'

  puts a return probe at the returning of vmalloc.

TODO:
 - Support --line option to show which lines user can probe.
 - Support lazy string matching.

Thank you,

---

Masami Hiramatsu (10):
      perf/probes: Support function entry relative line number
      perf/probes: Change probepoint syntax of perf-probe
      perf/probes: Change command-line option of perf-probe
      perf/probes: Exit searching after finding target function
      kprobe-tracer: Compare both of event-name and event-group to find probe
      x86: Add Intel FMA instructions to x86 opcode map
      x86: AVX instruction set decoder support
      x86: Add pclmulq to x86 opcode map
      x86: Merge INAT_REXPFX into INAT_PFX_*
      x86: Fix SSE opcode map bug


 arch/x86/include/asm/inat.h          |   68 ++++-
 arch/x86/include/asm/insn.h          |   43 +++
 arch/x86/lib/inat.c                  |   12 +
 arch/x86/lib/insn.c                  |   54 ++++
 arch/x86/lib/x86-opcode-map.txt      |  464 +++++++++++++++++++---------------
 arch/x86/tools/gen-insn-attr-x86.awk |  100 +++++--
 kernel/trace/trace_kprobe.c          |    8 -
 tools/perf/builtin-probe.c           |  201 +++++++++------
 tools/perf/util/probe-finder.c       |   93 +++++--
 tools/perf/util/probe-finder.h       |    4 
 10 files changed, 695 insertions(+), 352 deletions(-)

-- 
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America), Inc.
Software Solutions Division
e-mail: mhiramat@redhat.com

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

end of thread, other threads:[~2009-11-03 15:07 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-27 20:42 [PATCH -tip perf/probes 00/10] x86 insn decoder bugfixes Masami Hiramatsu
2009-10-27 20:42 ` [PATCH -tip perf/probes 03/10] x86: Add pclmulq to x86 opcode map Masami Hiramatsu
2009-10-27 20:42 ` [PATCH -tip perf/probes 06/10] kprobe-tracer: Compare both of event-name and event-group to find probe Masami Hiramatsu
2009-10-27 20:42 ` [PATCH -tip perf/probes 02/10] x86: Merge INAT_REXPFX into INAT_PFX_* Masami Hiramatsu
2009-10-27 20:42 ` [PATCH -tip perf/probes 01/10] x86: Fix SSE opcode map bug Masami Hiramatsu
2009-10-27 20:42 ` [PATCH -tip perf/probes 05/10] x86: Add Intel FMA instructions to x86 opcode map Masami Hiramatsu
2009-10-27 20:42 ` [PATCH -tip perf/probes 04/10] x86: AVX instruction set decoder support Masami Hiramatsu
2009-10-27 20:43 ` [PATCH -tip perf/probes 10/10] perf/probes: Support function entry relative line number Masami Hiramatsu
2009-10-27 20:43 ` [PATCH -tip perf/probes 08/10] perf/probes: Change command-line option of perf-probe Masami Hiramatsu
2009-10-27 20:43 ` [PATCH -tip perf/probes 07/10] perf/probes: Exit searching after finding target function Masami Hiramatsu
2009-10-27 20:43 ` [PATCH -tip perf/probes 09/10] perf/probes: Change probepoint syntax of perf-probe Masami Hiramatsu
2009-10-29  8:54 ` [PATCH -tip perf/probes 00/10] x86 insn decoder bugfixes Ingo Molnar
2009-10-29 15:10   ` Arnaldo Carvalho de Melo
2009-10-29 16:56   ` Masami Hiramatsu
2009-10-29 20:10     ` Masami Hiramatsu
2009-10-29 20:25       ` Josh Stone
2009-10-29 20:41         ` Masami Hiramatsu
2009-11-02 21:16     ` [PATCH -tip perf/probes 00/10] x86 insn decoder bugfixes and perf-probe syntax changes Masami Hiramatsu
2009-11-02 21:26       ` Frederic Weisbecker
2009-11-02 21:57         ` Masami Hiramatsu
2009-11-03  0:37       ` Masami Hiramatsu
2009-11-03  7:33         ` Ingo Molnar
2009-11-03 15:07           ` Masami Hiramatsu
2009-10-29 17:16   ` [PATCH -tip perf/probes 00/10] x86 insn decoder bugfixes Frank Ch. Eigler
2009-10-29 19:18   ` Roland McGrath
2009-11-03  7:25     ` Ingo Molnar
2009-11-03 12:35       ` Using build-ids in perf tools was " Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).