lkml.org 
[lkml]   [2010]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCHv8 2.6.35-rc4-tip 0/12] Uprobes Patches:

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$
>


\
 
 \ /
  Last update: 2010-07-09 06:53    [from the cache]
©2003-2011 Jasper Spaans