Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754487Ab2EPF7r (ORCPT ); Wed, 16 May 2012 01:59:47 -0400 Received: from LGEMRELSE1Q.lge.com ([156.147.1.111]:50440 "EHLO LGEMRELSE1Q.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750858Ab2EPF7q (ORCPT ); Wed, 16 May 2012 01:59:46 -0400 X-AuditID: 9c93016f-b7cecae000000e00-5f-4fb3424bc146 From: Namhyung Kim To: Peter Zijlstra Cc: Ingo Molnar , Linus Torvalds , Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, Arjan van de Ven , David Ahern , Frederic Weisbecker , Mike Galbraith , Paul Mackerras , Stephane Eranian , arnaldo.melo@gmail.com, Arnaldo Carvalho de Melo Subject: Re: [GIT PULL 0/8] Annotation weekly ponies delivery References: <1336852387-16322-1-git-send-email-acme@infradead.org> <1336994000.2443.24.camel@twins> <20120514115551.GA6479@gmail.com> <1337007985.1552.5.camel@leonhard> <1337077973.27694.24.camel@twins> <1337093080.1493.22.camel@leonhard> <1337101633.27694.92.camel@twins> Date: Wed, 16 May 2012 14:57:49 +0900 In-Reply-To: <1337101633.27694.92.camel@twins> (Peter Zijlstra's message of "Tue, 15 May 2012 19:07:13 +0200") Message-ID: <87liksd5wi.fsf@sejong.aot.lge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2344 Lines: 57 Hi, On Tue, 15 May 2012 19:07:13 +0200, Peter Zijlstra wrote: > This does indeed make it work again: > > pre patch: > > [ perf record: Woken up 1 times to write data ] > [ perf record: Captured and wrote 0.005 MB perf.data (~212 samples) ] > > post patch: > > [ perf record: Woken up 209 times to write data ] > [ perf record: Captured and wrote 54.931 MB perf.data (~2399974 samples) ] > > So please do send as a proper patch, and you can add: > > Acked-and-tested-by: Peter Zijlstra Hmm.. but it seems this breaks my 'perf stat -g' - it doesn't respond any more (even for ^C): namhyung@sejong:perf$ ./perf stat -g sleep 1 ^C^C^C^C^\Quit (core dumped) namhyung@sejong:perf$ gdb ./perf core.11964 [SNIP] Core was generated by `./perf stat -g sleep 1'. Program terminated with signal 3, Quit. #0 0x0000003fd800e090 in __read_nocancel () from /lib64/libpthread.so.0 [SNIP] (gdb) bt #0 0x0000003fd800e090 in __read_nocancel () from /lib64/libpthread.so.0 #1 0x000000000047fa00 in read (__nbytes=24, __buf=0x7fffc5e1d0b0, __fd=0) at /usr/include/bits/unistd.h:45 #2 readn (fd=0, buf=, buf@entry=0x7fffc5e1d0b0, n=n@entry=24) at util/util.c:140 #3 0x000000000043e4bb in __perf_evsel__read (evsel=evsel@entry=0xc7e700, ncpus=, nthreads=1, scale=true) at util/evsel.c:267 #4 0x0000000000422777 in read_counter_aggr (counter=0xc7e700) at builtin-stat.c:360 #5 run_perf_stat (argv=0x7fffc5e1d510, argc=2) at builtin-stat.c:528 #6 cmd_stat (argc=2, argv=0x7fffc5e1d510, prefix=) at builtin-stat.c:1251 #7 0x0000000000414723 in run_builtin (p=p@entry=0x77e1d8, argc=argc@entry=4, argv=argv@entry=0x7fffc5e1d510) at perf.c:273 #8 0x0000000000413f3b in handle_internal_command (argv=0x7fffc5e1d510, argc=4) at perf.c:345 #9 run_argv (argv=0x7fffc5e1d300, argcp=0x7fffc5e1d30c) at perf.c:389 #10 main (argc=4, argv=0x7fffc5e1d510) at perf.c:487 In fact, my perf stat -g was already broken - it cannot count at all on my SNB box. I'll investigate it more. Any thoughts? Namhyung -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/