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]
Message-ID: <20121128152327.GD1038@krava.brq.redhat.com>
Date:	Wed, 28 Nov 2012 16:23:27 +0100
From:	Jiri Olsa <jolsa@...hat.com>
To:	Stephane Eranian <eranian@...gle.com>
Cc:	linux-kernel@...r.kernel.org, peterz@...radead.org, mingo@...e.hu,
	ak@...ux.intel.com, acme@...hat.com, namhyung.kim@....com
Subject: Re: [PATCH v3 04/19] perf, core: Add a concept of a weightened sample

On Wed, Nov 21, 2012 at 01:49:30PM +0100, Stephane Eranian wrote:
> From: Andi Kleen <ak@...ux.intel.com>

SNIP

> index 4f63c05..c52caab 100644
> --- a/include/uapi/linux/perf_event.h
> +++ b/include/uapi/linux/perf_event.h
> @@ -132,8 +132,10 @@ enum perf_event_sample_format {
>  	PERF_SAMPLE_BRANCH_STACK		= 1U << 11,
>  	PERF_SAMPLE_REGS_USER			= 1U << 12,
>  	PERF_SAMPLE_STACK_USER			= 1U << 13,
> +	PERF_SAMPLE_WEIGHT			= 1U << 14,
> +
> +	PERF_SAMPLE_MAX = 1U << 15,		/* non-ABI */
>  
> -	PERF_SAMPLE_MAX = 1U << 14,		/* non-ABI */
>  };
>  
>  /*
> @@ -198,8 +200,9 @@ enum perf_event_read_format {
>  	PERF_FORMAT_TOTAL_TIME_RUNNING		= 1U << 1,
>  	PERF_FORMAT_ID				= 1U << 2,
>  	PERF_FORMAT_GROUP			= 1U << 3,
> +	PERF_FORMAT_WEIGHT			= 1U << 4,

what's PERF_FORMAT_WEIGHT for?

thanks,
jirka
--
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