From: "vedabharath12345 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug runtime/24681] New: Systemtap regression on 5.2.0-rc4+
Date: Fri, 14 Jun 2019 16:15:00 -0000 [thread overview]
Message-ID: <bug-24681-6586@http.sourceware.org/bugzilla/> (raw)
https://sourceware.org/bugzilla/show_bug.cgi?id=24681
Bug ID: 24681
Summary: Systemtap regression on 5.2.0-rc4+
Product: systemtap
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: vedabharath12345 at gmail dot com
Target Milestone: ---
I am install systemtap from source and running the following script:
global stats
probe kernel.function("do_try_to_free_pages").return {
order = @entry($sc->order)
# 10 seconds
time = cpu_clock_ns(cpu()) - @entry(cpu_clock_ns(cpu()))
stats["do_try_to_free_pages", execname(), order] <<< time
}
probe kernel.function("try_to_compact_pages").return {
order = @entry($order)
# 10 seconds
time = cpu_clock_ns(cpu()) - @entry(cpu_clock_ns(cpu()))
stats["try_to_compact_pages", execname(), order] <<< time
}
probe end {
foreach ([f, en, order+] in stats) {
printf("%s:%s: order %d allocation latency - ",f,en,order)
printf("max/avg/min/count: %d/%d/%d/%d\n", @max(stats[f,en,order]),
@avg(stats[f,en,order]), @min(stats[f,en,order]), @count(stats[f,en,order]))
#print(@hist_log(stats[f,en,order]))
}
}
I run this with the following command:
sudo stap -v file.stp
I get the following regression:
Pass 1: parsed user script and 480 library scripts using
252832virt/58044res/7164shr/51388data kb, in 430usr/20sys/442real ms.
Pass 2: analyzed script: 5 probes, 6 functions, 4 embeds, 9 globals using
441388virt/248420res/9004shr/239944data kb, in 1560usr/600sys/2178real ms.
Pass 3: translated to C into
"/tmp/stap67x2ww/stap_1cc3aea9d7e2ba2d749b5c2064fb5c34_8894_src.c" using
441388virt/248548res/9132shr/239944data kb, in 10usr/10sys/7real ms.
In file included from <command-line>:0:0:
././include/linux/compiler_types.h:217:1: fatal error:
/tmp/stap67x2ww/stapconf_6255ecd233c87a15fc7a36976eb58ca9_664.h: No such file
or directory
#endif /* __LINUX_COMPILER_TYPES_H */
^
compilation terminated.
In file included from <command-line>:0:0:
././include/linux/compiler_types.h:217:1: fatal error:
/tmp/stap67x2ww/stapconf_6255ecd233c87a15fc7a36976eb58ca9_664.h: No such file
or directory
#endif /* __LINUX_COMPILER_TYPES_H */
^
compilation terminated.
make[2]: *** [/tmp/stap67x2ww/stap_1cc3aea9d7e2ba2d749b5c2064fb5c34_8894_src.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: ***
[/tmp/stap67x2ww/stap_1cc3aea9d7e2ba2d749b5c2064fb5c34_8894_aux_0.o] Error 1
make[1]: *** [_module_/tmp/stap67x2ww] Error 2
make: *** [sub-make] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_1cc3aea9d7e2ba2d749b5c2064fb5c34_8894.ko" in
320usr/250sys/534real ms.
Pass 4: compilation failed. [man error::pass4]
This is on Oracle Linux 7.5 with Linux 5.2.0-rc4+
On Ubuntu 16.04 with linux 5.2.0-rc4+, I get the following regressions:
Pass 1: parsed user script and 476 library scripts using
119984virt/86916res/5680shr/81644data kb, in 560usr/60sys/626real ms.
Pass 2: analyzed script: 5 probes, 6 functions, 1 embed, 9 globals using
180372virt/148564res/6768shr/142032data kb, in 1760usr/80sys/1836real ms.
Pass 3: translated to C into
"/tmp/stapdPYzar/stap_8971bfbfebae8e7afd75f0d8461b9919_8269_src.c" using
180372virt/148820res/7024shr/142032data kb, in 40usr/0sys/46real ms.
In file included from ./include/linux/mmzone.h:8:0,
from ./include/linux/gfp.h:6,
from
/usr/local/share/systemtap/runtime/linux/runtime_defines.h:20,
from /usr/local/share/systemtap/runtime/runtime_defines.h:8,
from
/tmp/stapdPYzar/stap_8971bfbfebae8e7afd75f0d8461b9919_8269_src.c:11:
./include/linux/spinlock.h:60:24: fatal error: asm/mmiowb.h: No such file or
directory
compilation terminated.
scripts/Makefile.build:278: recipe for target
'/tmp/stapdPYzar/stap_8971bfbfebae8e7afd75f0d8461b9919_8269_src.o' failed
make[1]: *** [/tmp/stapdPYzar/stap_8971bfbfebae8e7afd75f0d8461b9919_8269_src.o]
Error 1
Makefile:1595: recipe for target '_module_/tmp/stapdPYzar' failed
make: *** [_module_/tmp/stapdPYzar] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_8971bfbfebae8e7afd75f0d8461b9919_8269.ko" in
10360usr/3010sys/13317real ms.
Pass 4: compilation failed. [man error::pass4]
stap version:
Systemtap translator/driver (version 4.2/0.165, commit
release-4.1-27-g2d77f531a5d1)
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: PYTHON2 PYTHON3 NLS READLINE
--
You are receiving this mail because:
You are the assignee for the bug.
next reply other threads:[~2019-06-14 16:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-14 16:15 vedabharath12345 at gmail dot com [this message]
2019-06-14 16:57 ` [Bug runtime/24681] " vedabharath12345 at gmail dot com
2019-06-14 16:58 ` vedabharath12345 at gmail dot com
2019-10-15 16:01 ` fche at redhat dot com
2023-05-25 16:38 ` fche at redhat dot com
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=bug-24681-6586@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--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).