From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74210 invoked by alias); 6 Jan 2016 21:57:24 -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 74034 invoked by uid 48); 6 Jan 2016 21:57:20 -0000 From: "dsmith at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/19396] systemtap can't find certain kernel tracepoints Date: Wed, 06 Jan 2016 21:57:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dsmith at redhat dot com X-Bugzilla-Status: NEW 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: 2016-q1/txt/msg00007.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D19396 --- Comment #4 from David Smith --- (In reply to Josh Stone from comment #2) > In Fedora, I only see the module_* tracepoints without any "system:" pref= ix. > include/trace/events/module.h has: >=20 > #ifdef CREATE_TRACE_POINTS > #undef TRACE_SYSTEM > #define TRACE_SYSTEM module > #endif >=20 > AFAICS we don't set CREATE_TRACE_POINTS. I'm not sure, but maybe we shou= ld. >=20 > FWIW sched.h and writeback.h also use CREATE_TRACE_POINTS, but only to gu= ard > some helper functions, not to guard TRACE_SYSTEM. I think that will > harmless to tracequery if those functions are added, as long as they do > compile ok. Yeah, I've got a fix for that problem (but haven't checked it in yet). I tr= ied just defining CREATE_TRACE_POINTS, but that caused other compile problems later. So, I just hardcoded TRACE_SYSTEM for module.h, which seems to work. --=20 You are receiving this mail because: You are the assignee for the bug.