Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751852Ab0GIEup (ORCPT ); Fri, 9 Jul 2010 00:50:45 -0400 Received: from e4.ny.us.ibm.com ([32.97.182.144]:44879 "EHLO e4.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751080Ab0GIEun (ORCPT ); Fri, 9 Jul 2010 00:50:43 -0400 Date: Fri, 9 Jul 2010 10:12:58 +0530 From: Srikar Dronamraju To: Christoph Hellwig Cc: Peter Zijlstra , Ingo Molnar , Steven Rostedt , Randy Dunlap , Arnaldo Carvalho de Melo , Linus Torvalds , Naren A Devaiah , Ananth N Mavinakayanahalli , Masami Hiramatsu , Oleg Nesterov , Mark Wielaard , Mathieu Desnoyers , LKML , Jim Keniston , Frederic Weisbecker , "Frank Ch. Eigler" , Andrew Morton , "Paul E. McKenney" Subject: Re: [PATCHv8 2.6.35-rc4-tip 0/12] Uprobes Patches: Message-ID: <20100709044258.GA26884@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20100708171003.29165.57615.sendpatchset@localhost6.localdomain6> <20100708201704.GA30946@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20100708201704.GA30946@infradead.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3392 Lines: 59 Thanks for trying and informing of the problem. This problem occurs when compiling perf with elfutils-devel > 0.138 installed. I am resending the patch 11/12 which was "[PATCHv8 2.6.35-rc4-tip 11/12] perf: perf interface for uprobes" I probably messed it up while merging to the latest tip/master. -- Thanks Srikar > I can't actually get perf to build with these patches applied ontop > of the -tip tree master branch: > > CC util/probe-finder.o > til/probe-finder.c: In function 'alloc_trace_arg_ref': > util/probe-finder.c:412: error: invalid application of 'sizeof' to incomplete type 'struct kprobe_trace_arg_ref' > util/probe-finder.c:414: error: dereferencing pointer to incomplete type > cc1: warnings being treated as errors > util/probe-finder.c: In function 'convert_variable_location': > util/probe-finder.c:428: error: initialization from incompatible pointertype > util/probe-finder.c:444: error: dereferencing pointer to incomplete type > util/probe-finder.c:445: error: dereferencing pointer to incomplete type > util/probe-finder.c:447: error: dereferencing pointer to incomplete type > util/probe-finder.c:448: error: dereferencing pointer to incomplete type > util/probe-finder.c:449: error: dereferencing pointer to incomplete type > util/probe-finder.c:489: error: dereferencing pointer to incomplete type > util/probe-finder.c:490: error: dereferencing pointer to incomplete type > util/probe-finder.c:494: error: dereferencing pointer to incomplete type > util/probe-finder.c:495: error: dereferencing pointer to incomplete type > util/probe-finder.c: At top level: > util/probe-finder.c:503: error: 'struct kprobe_trace_arg' declared inside parameter list > util/probe-finder.c:503: error: its scope is only this definition or declaration, which is probably not what you want > util/probe-finder.c: In function 'convert_variable_type': > util/probe-finder.c:505: error: dereferencing pointer to incomplete type > util/probe-finder.c:513: error: dereferencing pointer to incomplete type > util/probe-finder.c:514: error: dereferencing pointer to incomplete type > util/probe-finder.c:541: error: dereferencing pointer to incomplete type > util/probe-finder.c:543: error: invalid application of 'sizeof' to incomplete type 'struct kprobe_trace_arg_ref' > util/probe-finder.c:556: error: dereferencing pointer to incomplete type > util/probe-finder.c:557: error: dereferencing pointer to incomplete type > util/probe-finder.c:579: error: dereferencing pointer to incomplete type > util/probe-finder.c:580: error: dereferencing pointer to incomplete type > util/probe-finder.c: In function 'convert_variable_fields': > util/probe-finder.c:617: error: invalid application of 'sizeof' to incomplete type 'struct kprobe_trace_arg_ref' > util/probe-finder.c: In function 'convert_variable': > util/probe-finder.c:718: error: passing argument 2 of 'convert_variable_type' from incompatible pointer type > util/probe-finder.c:501: note: expected 'struct kprobe_trace_arg *' but > argument is of type 'struct probe_trace_arg *' > make: *** [util/probe-finder.o] Error 1 > hch@brick:~/work/linux-2.6-tip/tools/perf$ > -- 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/