lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091027204156.30545.96425.stgit@harusame>
Date:	Tue, 27 Oct 2009 16:41:56 -0400
From:	Masami Hiramatsu <mhiramat@...hat.com>
To:	Ingo Molnar <mingo@...e.hu>,
	Frederic Weisbecker <fweisbec@...il.com>,
	lkml <linux-kernel@...r.kernel.org>
Cc:	Steven Rostedt <rostedt@...dmis.org>,
	Jim Keniston <jkenisto@...ibm.com>,
	Ananth N Mavinakayanahalli <ananth@...ibm.com>,
	Christoph Hellwig <hch@...radead.org>,
	"Frank Ch. Eigler" <fche@...hat.com>,
	"H. Peter Anvin" <hpa@...or.com>, Jason Baron <jbaron@...hat.com>,
	"K.Prasad" <prasad@...ux.vnet.ibm.com>,
	Peter Zijlstra <peterz@...radead.org>,
	Srikar Dronamraju <srikar@...ux.vnet.ibm.com>,
	systemtap <systemtap@...rces.redhat.com>,
	DLE <dle-develop@...ts.sourceforge.net>
Subject: [PATCH -tip perf/probes 00/10] x86 insn decoder bugfixes

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@...nel/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@...hat.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ