From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by sourceware.org (Postfix) with ESMTP id 615CB386F002 for ; Mon, 27 Apr 2020 18:17:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 615CB386F002 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-432-RKOyf6KANe2jeJNoi3bhPg-1; Mon, 27 Apr 2020 14:17:52 -0400 X-MC-Unique: RKOyf6KANe2jeJNoi3bhPg-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C09121005510; Mon, 27 Apr 2020 18:17:50 +0000 (UTC) Received: from redhat.com (ovpn-112-91.phx2.redhat.com [10.3.112.91]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 44ED660CD3; Mon, 27 Apr 2020 18:17:50 +0000 (UTC) Received: from [127.0.0.1] (helo=vm-rhel7) by redhat.com with esmtp (Exim 4.92.3) (envelope-from ) id 1jT8KC-0005lr-Ub; Mon, 27 Apr 2020 14:17:48 -0400 From: fche@redhat.com (Frank Ch. Eigler) To: =?utf-8?B?5byg5aiB?= <1541469@tongji.edu.cn> Cc: systemtap@sourceware.org Subject: Re: I meet errors when I modify the return value or parameters of userspace function by systemtap References: <6ed9aec7.689c.171ba079cd2.Coremail.1541469@tongji.edu.cn> Date: Mon, 27 Apr 2020 14:17:48 -0400 In-Reply-To: <6ed9aec7.689c.171ba079cd2.Coremail.1541469@tongji.edu.cn> (=?utf-8?B?IuW8oOWogQ==?= "'s message of "Mon, 27 Apr 2020 13:06:33 +0800 (GMT+08:00)") Message-ID: <87a72wlrn7.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Apr 2020 18:18:03 -0000 =E5=BC=A0=E5=A8=81 <1541469@tongji.edu.cn> writes: > /usr/local/share/systemtap/runtime/linux/loc2c-runtime.h:297:69: error: = =E2=80=98regnoo=E2=80=99 undeclared (first use in this function); did you m= ean =E2=80=98rep_nop=E2=80=99? > [...] You're doing nothing wrong; we had a typo. The following patch fixes it. You can hand-apply the change to your copy of /usr/share/systemtap/runtime/linux/loc2c-runtime.h . commit ccad93fd0f81851fd69ff0257c6010a8d1984c8c Author: HATAYAMA Daisuke Date: Fri Feb 7 04:07:21 2020 +0000 https://sourceware.org/git/?p=3Dsystemtap.git;a=3Dcommitdiff;h=3Dccad93fd0f= 81851fd69ff0257c6010a8d1984c8c - FChE