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:	Fri, 22 Jan 2016 10:41:53 +0100
From:	Jiri Olsa <jolsa@...hat.com>
To:	Andi Kleen <andi@...stfloor.org>
Cc:	acme@...nel.org, jolsa@...nel.org, mingo@...nel.org,
	linux-kernel@...r.kernel.org, eranian@...gle.com,
	Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 3/9] perf, tools, stat: Move noise/running printing into
 printout

On Tue, Jan 19, 2016 at 06:26:46PM -0800, Andi Kleen wrote:

SNIP

>  	uval = avg * counter->scale;
> -	printout(-1, 0, counter, uval, prefix);
> -
> -	print_noise(counter, avg);
> -
> -	print_running(avg_running, avg_enabled);
> +	printout(-1, 0, counter, uval, prefix, avg_running, avg_enabled, avg);
>  	fprintf(output, "\n");
>  }
>  
> @@ -1037,36 +1006,8 @@ static void print_counter(struct perf_evsel *counter, char *prefix)
>  		if (prefix)
>  			fprintf(output, "%s", prefix);
>  
> -		if (run == 0 || ena == 0) {
> -			fprintf(output, "CPU%*d%s%*s%s",
> -				csv_output ? 0 : -4,
> -				perf_evsel__cpus(counter)->map[cpu], csv_sep,
> -				csv_output ? 0 : 18,
> -				counter->supported ? CNTR_NOT_COUNTED : CNTR_NOT_SUPPORTED,
> -				csv_sep);

this hunk is not preserved in the new code.. I guess the output is
different for -A if counter wasn't meassure?

thanks,
jirka

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ