From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23500 invoked by alias); 22 Dec 2009 20:24:01 -0000 Received: (qmail 23484 invoked by uid 22791); 22 Dec 2009 20:24:01 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Dec 2009 20:23:57 +0000 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nBMKNtW6022543 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 22 Dec 2009 15:23:55 -0500 Received: from [10.14.54.191] (dhcp-191.sjc.redhat.com [10.14.54.191]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nBMKNsel018690; Tue, 22 Dec 2009 15:23:55 -0500 Message-ID: <4B312ADB.3040208@redhat.com> Date: Tue, 22 Dec 2009 20:24:00 -0000 From: Josh Stone User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 MIME-Version: 1.0 To: wenji.huang@oracle.com CC: SystemTAP Subject: Re: Compilation for tracepoint on 2.6.33-rc1 References: <4B303B64.8040003@oracle.com> In-Reply-To: <4B303B64.8040003@oracle.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2009-q4/txt/msg01016.txt.bz2 On 12/21/2009 07:22 PM, Wenji Huang wrote: > How to handle this, to push a patch of adding #undef before > #define TRACE_INCLUDE_FILE to LKML This is the proper fix. In the case of kvm, just having TRACE_SYSTEM should be sufficient, but syscalls.h does use separate names. > emit "#undef TRACE_INCLUDE_FILE" before "#include " > to the generated C code? It wouldn't really hurt to do this as well, but let's see if LKML will fix it first. Josh