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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 06 Oct 2011 19:01:26 +0200
From:	Peter Zijlstra <peterz@...radead.org>
To:	Stephane Eranian <eranian@...gle.com>
Cc:	linux-kernel@...r.kernel.org, mingo@...e.hu, acme@...hat.com,
	ming.m.lin@...el.com, andi@...stfloor.org, robert.richter@....com,
	ravitillo@....gov
Subject: Re: [PATCH 01/12] perf_events: add generic taken branch sampling
 support

On Thu, 2011-10-06 at 16:49 +0200, Stephane Eranian wrote:
> +enum perf_branch_sample_type {
> +       PERF_SAMPLE_BRANCH_USER         = 1U << 0, /* user level branches */
> +       PERF_SAMPLE_BRANCH_KERNEL       = 1U << 1, /* kernel level branches */


I just merged a patch-set that adds guest/host muck as well, would it
make sense to extend this stuff to support that as well?

> +       PERF_SAMPLE_BRANCH_ANY          = 1U << 2, /* any branch types */
> +       PERF_SAMPLE_BRANCH_ANY_CALL     = 1U << 3, /* any call branch */
> +       PERF_SAMPLE_BRANCH_ANY_RETURN   = 1U << 4, /* any return branch */
> +       PERF_SAMPLE_BRANCH_IND_CALL     = 1U << 5, /* indirect calls */
> +
> +       PERF_SAMPLE_BRANCH_MAX          = 1U << 6,/* non-ABI */
> +} 
--
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