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]

bpf backend compilation failed


Hi,

is the following a known issue?

Thanks,
-Aubrey

$ uname -a
Linux aubrey-skl 4.17.9+ #2 SMP Fri Jul 27 01:01:08 CST 2018 x86_64
x86_64 x86_64 GNU/Linux

$ stap -V
Systemtap translator/driver (version 3.3/0.169, non-git sources)
Copyright (C) 2005-2018 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
tested kernel versions: 2.6.18 ... 4.18-rc0
enabled features: BPF PYTHON2 PYTHON3 NLS

$ sudo stap -v -e 'probe kernel.function("ksys_read") { printf("hi
from stapbpf!\n"); exit() }'
Pass 1: parsed user script and 469 library scripts using
75684virt/49080res/5220shr/44164data kb, in 140usr/20sys/157real ms.
Pass 2: analyzed script: 1 probe, 1 function, 0 embeds, 0 globals
using 127780virt/102200res/6188shr/96260data kb, in
570usr/60sys/624real ms.
Pass 3: translated to C into
"/tmp/stap26SNl3/stap_786cf29c32bd51ec23d1260f00b80270_1090_src.c"
using 127780virt/102456res/6444shr/96260data kb, in 10usr/20sys/24real
ms.
Pass 4: compiled C into
"stap_786cf29c32bd51ec23d1260f00b80270_1090.ko" in
2180usr/550sys/2535real ms.
Pass 5: starting run.
hi from stapbpf!
Pass 5: run completed in 0usr/50sys/643real ms.

$ sudo stap -v --bpf -e 'probe kernel.function("ksys_read") {
printf("hi from stapbpf!\n"); exit() }'
Pass 1: parsed user script and 44 library scripts using
41612virt/14980res/5212shr/10092data kb, in 20usr/0sys/18real ms.
Pass 2: analyzed script: 1 probe, 2 functions, 0 embeds, 0 globals
using 92968virt/67372res/6184shr/61448data kb, in 870usr/70sys/952real
ms.
Pass 4: compiled BPF into "stap_26130.bo" in 0usr/0sys/0real ms.
Pass 4: compilation failed.  [man error::pass4]


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