This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

guru mode: invalid module format


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]