From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 66108 invoked by alias); 7 May 2019 06:58:41 -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 66100 invoked by uid 89); 7 May 2019 06:58:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPAM_SUBJECT1,SPF_PASS autolearn=no version=3.3.1 spammy=translator X-HELO: mail-wr1-f47.google.com Received: from mail-wr1-f47.google.com (HELO mail-wr1-f47.google.com) (209.85.221.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 07 May 2019 06:58:39 +0000 Received: by mail-wr1-f47.google.com with SMTP id a12so10510184wrn.4 for ; Mon, 06 May 2019 23:58:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=cC3fc66PezV4fwq38Lw2wfUprWExBLeUitSYL2gmNfA=; b=KAMxBVZW5QnEkGLeBhxV0+dM0agYvwPGNEzWe9CVrHlvrVQJC8B4YTkCAl9gDqmY3p BTsAKL++CNCXLUNRYTdyuYKSA39LgGn+q2sS4ZmAw3jgz8eSVVZ01fbew9JqVwJz/JSr DzgJ2fTFlL7eaUqXnB/K6vL8lgOS2aB8Z4FFQ8EJwV4AOHPyiOpHaeSb0CfiABIg4fVE 6Iso1RmM35SdPRCN2J2VrrYYqJJ/DTo2IEpvBqLw9gwf/3TdFLJtKxIukg20z/Fjhd5E zRQ44Njp7TSjt2SNZqntJpMbITTat14HcTSXGU0JM0yqA2/EQsQ8I8e/nAPBLbh/ONcE dOpQ== MIME-Version: 1.0 From: Aubrey Li Date: Tue, 07 May 2019 06:58:00 -0000 Message-ID: Subject: To: systemtap@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2019-q2/txt/msg00039.txt.bz2 Hi, Here is mine systemtap version $ stap -V Systemtap translator/driver (version 4.1/0.169, commit release-4.0-191-g8bb72aa68b70 + changes) Copyright (C) 2005-2019 Red Hat, Inc. and others This is free software; see the source for copying conditions. tested kernel versions: 2.6.18 ... 5.1-rc2 enabled features: BPF PYTHON2 PYTHON3 NLS Normal mode works properly $ sudo stap -v helloworld.stp Pass 1: parsed user script and 476 library scripts using 113524virt/86020res/5588shr/80776data kb, in 160usr/70sys/222real ms. Pass 2: analyzed script: 1 probe, 1 function, 0 embeds, 0 globals using 115108virt/87728res/5724shr/82360data kb, in 0usr/0sys/7real ms. Pass 3: translated to C into "/tmp/stap0IY8bu/stap_987097eb77b9beb03d8e647034de5773_1001_src.c" using 115108virt/87728res/5724shr/82360data kb, in 0usr/0sys/0real ms. Pass 4: compiled C into "stap_987097eb77b9beb03d8e647034de5773_1001.ko" in 1990usr/2520sys/4301real ms. Pass 5: starting run. hello world Pass 5: run completed in 10usr/90sys/556real ms. But guru mode does not work for me $ sudo rm -rf ~/.systemtap/cache/ $ sudo stap -v helloworld.stp -g Pass 1: parsed user script and 476 library scripts using 113528virt/86164res/5732shr/80780data kb, in 140usr/80sys/221real ms. Pass 2: analyzed script: 1 probe, 1 function, 0 embeds, 0 globals using 115112virt/87932res/5932shr/82364data kb, in 10usr/10sys/7real ms. Pass 3: translated to C into "/tmp/stap9WYfyJ/stap_987097eb77b9beb03d8e647034de5773_1001_src.c" using 115112virt/87932res/5932shr/82364data kb, in 0usr/0sys/0real ms. Pass 4: compiled C into "stap_987097eb77b9beb03d8e647034de5773_1001.ko" in 10650usr/6000sys/16469real ms. Pass 5: starting run. ERROR: Couldn't insert module '/tmp/stap9WYfyJ/stap_987097eb77b9beb03d8e647034de5773_1001.ko': Invalid module format WARNING: /usr/local/bin/staprun exited with status: 1 Pass 5: run completed in 0usr/10sys/8real ms. Pass 5: run failed. [man error::pass5] Is this "invalid module format" a known error? Thanks, -Aubrey