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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150907114314.GD5806@krava.brq.redhat.com>
Date:	Mon, 7 Sep 2015 13:43:14 +0200
From:	Jiri Olsa <jolsa@...hat.com>
To:	Andi Kleen <andi@...stfloor.org>
Cc:	acme@...nel.org, jolsa@...nel.org, linux-kernel@...r.kernel.org,
	Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 2/6] perf, tools, stat: Abstract stat metrics printing

On Fri, Sep 04, 2015 at 03:45:13PM -0700, Andi Kleen wrote:

SNIP

> @@ -695,11 +743,7 @@ static void print_counter_aggr(struct perf_evsel *counter, char *prefix)
>  	}
>  
>  	uval = avg * counter->scale;
> -
> -	if (nsec_counter(counter))
> -		nsec_printout(-1, 0, counter, uval);
> -	else
> -		abs_printout(-1, 0, counter, uval);
> +	printout(-1, 0, counter, uval);
>  
>  	print_noise(counter, avg);
>  
> @@ -752,15 +796,9 @@ static void print_counter(struct perf_evsel *counter, char *prefix)
>  		}
>  
>  		uval = val * counter->scale;
> -
> -		if (nsec_counter(counter))
> -			nsec_printout(cpu, 0, counter, uval);
> -		else
> -			abs_printout(cpu, 0, counter, uval);
> -
> +		printout(cpu, 0, counter, uval);
>  		if (!csv_output)
>  			print_noise(counter, 1.0);
> -		print_running(run, ena);

why is this one removed?

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