Prev: c/r (ipc): allow allocation of a desired ipc identifier
Next: [PATCH V2] Oprofile: Change CPUIDS from decimal to hex, and add some comments
From: Robert Richter on 7 May 2010 12:40 On 15.04.10 07:29:18, tip-bot for Masami Hiramatsu wrote: > diff --git a/tools/perf/util/probe-finder.h b/tools/perf/util/probe-finder.h > index 2a27132..310ce89 100644 > --- a/tools/perf/util/probe-finder.h > +++ b/tools/perf/util/probe-finder.h > @@ -42,6 +42,7 @@ struct probe_finder { > struct list_head lcache; /* Line cache for lazy match */ > > /* For variable searching */ > + Dwarf_CFI *cfi; /* Call Frame Information */ I get the following complile error: gcc -o builtin-probe.o -c -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Wformat-y2k -Wshadow -Winit-self -Wpacked -Wredundant-decls -Wstack-protector -Wstrict-aliasing=3 -Wswitch-default -Wswitch-enum -Wno-system-headers -Wundef -Wvolatile-register-var -Wwrite-strings -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Wdeclaration-after-statement -fstack-protector-all -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Iutil/include -I/usr/include/elfutils -DDWARF_SUPPORT -DNO_NEWT_SUPPORT -DNO_LIBPERL -DSHA1_HEADER='<openssl/sha.h>' builtin-probe.c In file included from builtin-probe.c:43: util/probe-finder.h:45: error: expected specifier-qualifier-list before 'Dwarf_CFI' make: *** [builtin-probe.o] Error 1 build script error: 2 git grep only finds the following: $ git grep Dwarf_CFI tools/perf/util/probe-finder.h: Dwarf_CFI *cfi; /* Call Frame Information */ Am I missing something? -Robert > Dwarf_Op *fb_ops; /* Frame base attribute */ > struct perf_probe_arg *pvar; /* Current target variable */ > struct kprobe_trace_arg *tvar; /* Current result variable */ -- Advanced Micro Devices, Inc. Operating System Research Center email: robert.richter(a)amd.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Robert Richter on 7 May 2010 16:10
On 07.05.10 15:47:57, Masami Hiramatsu wrote: > > Agreed. I'll check that what version can support current perf probe. > > OK, I've found that the CFI support has been added at last June, > and elfutils-0.142 is released in last July. Yes, that's the problem, I am using elfutils-0.131-r2. > So, I think we can check whether CFI is supported or not by checking > the version of elfutils, which can be done by _ELFUTILS_PREREQ() macro > defined in elfutils/version.h Looking forward to your fix. Thanks, -Robert -- Advanced Micro Devices, Inc. Operating System Research Center email: robert.richter(a)amd.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |