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] [day] [month] [year] [list]
Message-ID: <CABPqkBQyr2_KZAYSG=rv81zLMHbUPuLNWQz5VeNNyfZL0o7atg@mail.gmail.com>
Date:	Sat, 19 Jan 2013 00:03:05 +0100
From:	Stephane Eranian <eranian@...gle.com>
To:	Andi Kleen <ak@...ux.intel.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Peter Zijlstra <peterz@...radead.org>,
	"mingo@...e.hu" <mingo@...e.hu>,
	Arnaldo Carvalho de Melo <acme@...hat.com>,
	Jiri Olsa <jolsa@...hat.com>,
	Namhyung Kim <namhyung.kim@....com>
Subject: Re: [PATCH v3 2/2] perf stat: add interval printing

On Fri, Jan 18, 2013 at 7:30 PM, Andi Kleen <ak@...ux.intel.com> wrote:
>>       if (forks) {
>>               close(go_pipe[1]);
>> +             if (interval) {
>> +                     while (!waitpid(child_pid, &status, WNOHANG)) {
>> +                             ret = nanosleep(&ts, NULL);
>> +                             if (ret == 0 && interval)
>> +                                     print_interval();
>
> It would be good to make sure that if someone Ctrl-Cs
> you still print the latest interval(even if shorter)
>
Ok, I can remove the test. The interval is redundant here anyway.
Will post V4 shortly.
--
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