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]
Date:	Thu, 14 May 2015 23:09:57 +0200
From:	Stephane Eranian <eranian@...gle.com>
To:	linux-kernel@...r.kernel.org
Cc:	acme@...hat.com, peterz@...radead.org, mingo@...e.hu,
	ak@...ux.intel.com, jolsa@...hat.com, namhyung@...nel.org,
	kan.liang@...el.com, dsahern@...il.com
Subject: [PATCH v1 0/3] perf: add indirect jump filtering support

This short patch series adds a new filter to the branch stack
sampling feature. The new filter enables sampling only indirect
jumps. For each the source and target are captured.

The new branch_sample_type flag is: PERF_SAMPLE_BRANCH_IND_JUMP 

The series provides full support in the perf record tool:

  $ perf record -j ind_jmp ...

On Intel x86 processors, the filter is implemented using the
LBR hw filter.

This filter is useful to study targets of indirect jumps.

Stephane Eranian (3):
  perf: add new PERF_SAMPLE_BRANCH_IND_JUMP branch sample type
  perf/x86: add support for PERF_SAMPLE_BRANCH_IND_JUMP
  perf record: add support for sampling indirect jumps

 arch/x86/kernel/cpu/perf_event_intel_lbr.c | 10 +++++++++-
 include/uapi/linux/perf_event.h            |  2 ++
 tools/perf/builtin-record.c                |  1 +
 3 files changed, 12 insertions(+), 1 deletion(-)

-- 
1.9.1

--
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