From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 60690 invoked by alias); 11 Dec 2017 22:21:08 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 60651 invoked by uid 48); 11 Dec 2017 22:21:04 -0000 From: "mysecondaccountabc at gmail dot com" To: systemtap@sourceware.org Subject: [Bug runtime/22582] SystemTap 3.2 stap script compilation error opt Date: Mon, 11 Dec 2017 22:21:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mysecondaccountabc at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-q4/txt/msg00190.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D22582 --- Comment #3 from Gustavo Moreira -= -- (In reply to David Smith from comment #1) > (In reply to Gustavo Moreira from comment #0) > > I'm having the following compilation error compiling a stap script in A= RM > > with SystemTap 3.2: > >=20 > > $ sudo stap -v -g -p4 -DSTP_NO_OVERLOAD systemtap-strace.stp -m stap_tr= ace=20 > > Compiling systemtap module ... > > ./systemtap-strace.stp -> ./stap_trace.ko > > Pass 1: parsed user script and 452 library scripts using > > 35092virt/26404res/2260shr/24360data kb, in 4950usr/190sys/5187real ms. > > Pass 2: analyzed script: 734 probes, 230 functions, 104 embeds, 63 glob= als > > using 68040virt/60300res/3180shr/57308data kb, in > > 2348300usr/36720sys/2415777real ms. > > Pass 3: translated to C into "/tmp/stapBqLAih/stap_trace_src.c" using > > 68040virt/60492res/3412shr/57308data kb, in 121940usr/440sys/124281real= ms. > > /tmp/stapBqLAih/stap_trace_src.c:198942:28: error: field =E2=80=98ops= =E2=80=99 has > > incomplete type > > /tmp/stapBqLAih/stap_trace_src.c: In function =E2=80=98systemtap_module= _init=E2=80=99: > > /tmp/stapBqLAih/stap_trace_src.c:199900:9: error: implicit declaration = of > > function =E2=80=98stap_utrace_detach_ops=E2=80=99 [-Werror=3Dimplicit-f= unction-declaration] > > cc1: all warnings being treated as errors >=20 > Interesting. The task_finder functionality (part of the user-space tracin= g), > needs for several kernel tracepoints to exist. If they don't exist, you > should have either gotten a compile error or they should have > semi-gracefully just refused to work. >=20 > Is CONFIG_TRACEPOINTS set in your custom kernel? Hi David,=20 Yes it is # grep CONFIG_TRACEPOINTS ~/linux-3.2.93/.config CONFIG_TRACEPOINTS=3Dy I've just attached the stap temporary directory with the generated source files. Cheers, Gus --=20 You are receiving this mail because: You are the assignee for the bug.