From: Aubrey Li <aubreylee@gmail.com>
To: systemtap@sourceware.org
Subject:
Date: Tue, 07 May 2019 06:58:00 -0000 [thread overview]
Message-ID: <CAGPKeU+ZAC5FDTz0ghz2YWnBkqfJ4Oa4XH+YLrS7099tB43_gA@mail.gmail.com> (raw)
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
reply other threads:[~2019-05-07 6:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGPKeU+ZAC5FDTz0ghz2YWnBkqfJ4Oa4XH+YLrS7099tB43_gA@mail.gmail.com \
--to=aubreylee@gmail.com \
--cc=systemtap@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).