Comments (4)
thank for your report.
could you try
lizhijian@haswell-OptiPlex-9020:~/lkp-tests$ sudo events="balance_dirty_pages bdi_dirty_ratelimit global_dirty_state writeback_single_inode" TMP=/tmp RESULT_ROOT=$PWD ~/lkp-tests/monitors/ftrace
with following changes
diff --git a/monitors/ftrace b/monitors/ftrace
index 85368c8..0eaa15f 100755
--- a/monitors/ftrace
+++ b/monitors/ftrace
@@ -1,7 +1,7 @@
#!/bin/sh
# - events
-. $LKP_SRC/lib/upload.sh
+#. $LKP_SRC/lib/upload.sh
[ -n "$events" ] || exit 0
@@ -40,7 +40,7 @@ do
cp /sys/kernel/debug/tracing/events/*/$event/format $TMP/trace_event/${event}.fmt
done
-upload_files $TMP/trace_event
+#upload_files $TMP/trace_event
echo 1 > /sys/kernel/debug/tracing/tracing_on
from lkp-tests.
it's okay on my CentOS 7.5
[root@localhost lkp-tests]# events="balance_dirty_pages bdi_dirty_ratelimit global_dirty_state writeback_single_inode" TMP=/tmp RESULT_ROOT=$PWD ~/lkp-tests/monitors/ftrace
kworker/u2:3-275 [000] .... 5661.839297: global_dirty_state: dirty=5 writeback=0 unstable=0 bg_thresh=17711 thresh=53133 limit=56181 dirtied=49347 written=49169
kworker/u2:3-275 [000] .... 5666.847245: global_dirty_state: dirty=12 writeback=0 unstable=0 bg_thresh=17702 thresh=53106 limit=56181 dirtied=49354 written=49169
kworker/u2:3-275 [000] .... 5666.847252: writeback_single_inode: bdi 253:0: ino=8894226 state=I_SYNC dirtied_when=4300324883 age=10 index=0 to_write=7168 wrote=0
^C
[root@localhost lkp-tests]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[root@localhost lkp-tests]# uname -a
Linux localhost.localdomain 3.10.0-862.el7.x86_64 #1 SMP Fri Apr 20 16:44:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost lkp-tests]# ls /tmp/trace_event/
balance_dirty_pages.fmt bdi_dirty_ratelimit.fmt global_dirty_state.fmt writeback_single_inode.fmt
from lkp-tests.
That's OK for me.
[root@ip-10-22-2-38 ~]# vi /root/lkp/lkp-tests/monitors/ftrace
[root@ip-10-22-2-38 ~]# events="balance_dirty_pages bdi_dirty_ratelimit global_dirty_state writeback_single_inode" TMP=/tmp RESULT_ROOT=$PWD /root/lkp/lkp-tests/monitors/ftrace
kworker/u30:0-15302 [001] .... 113077.033851: global_dirty_state: dirty=12 writeback=0 unstable=0 bg_thresh=198341 thresh=396683 limit=382264 dirtied=22605163 written=21897884
kworker/u30:0-15302 [001] .... 113082.153918: global_dirty_state: dirty=12 writeback=0 unstable=0 bg_thresh=198344 thresh=396689 limit=382264 dirtied=22605163 written=21897884
kworker/u30:0-15302 [000] .... 113087.274003: global_dirty_state: dirty=12 writeback=0 unstable=0 bg_thresh=198345 thresh=396690 limit=382264 dirtied=22605163 written=21897884
kworker/u30:0-15302 [000] .... 113092.394012: global_dirty_state: dirty=12 writeback=0 unstable=0 bg_thresh=198346 thresh=396692 limit=382264 dirtied=22605163 written=21897884
^C
[root@ip-10-22-2-38 ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[root@ip-10-22-2-38 ~]# uname -a
Linux ip-10-22-2-38.us-west-2.compute.internal 4.9.112-32.el7.x86_64 #1 SMP Thu Jul 12 13:29:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@ip-10-22-2-38 ~]# ls /tmp/trace_event/
balance_dirty_pages.fmt bdi_dirty_ratelimit.fmt global_dirty_state.fmt writeback_single_inode.fmt
[root@ip-10-22-2-38 ~]#
from lkp-tests.
[root@ip-10-22-2-38 lkp]# lkp run dd-write-1hdd-10m-1HDD-cfq-xfs-1dd.yaml
......
(standard_in) 2: syntax error
/root/lkp/lkp-tests/monitors/ftrace: line 37: echo: write error: Invalid argument
/root/lkp/lkp-tests/monitors/ftrace: line 37: echo: write error: Invalid argument
/root/lkp/lkp-tests/monitors/ftrace: line 37: echo: write error: Invalid argument
/root/lkp/lkp-tests/monitors/ftrace: line 37: echo: write error: Invalid argument
cp: omitting directory ‘/tmp/lkp-root/trace_event’
/root/lkp/lkp-tests/monitors/ftrace: line 45: echo: write error: Invalid argument
confirmed, looks something wrong on lkp-tests, i'm looking into it.
from lkp-tests.
Related Issues (20)
- stats/kernel-selftests: resolve rubocop issues of VmStater class HOT 3
- stats/kernel-selftests: resolve rubocop issues of X86Stater class HOT 1
- stats/kernel-selftests: resolve rubocop issues of ResctrlStater class HOT 1
- stats/kernel-selftests: resolve rubocop issues of CapabilitiesStater class HOT 4
- stats/kernel-selftests: resolve rubocop issues of KmodStater class HOT 1
- stats/kernel-selftests: resolve rubocop issues of NetfilterStater class HOT 1
- stats/kernel-selftests: resolve rubocop issues of BpfStater class
- stats/kernel-selftests: resolve rubocop issues of VmallocStater class HOT 1
- perf-sanity-tests: analyze subtests of each perf test
- docker: support fedora:38 HOT 1
- docker: support ubuntu:22.04 HOT 1
- docker: support archlinux:base HOT 1
- locktorture: enable extra torture_type
- kunit: enable extra tests
- hwsim: resolve git clone timeout HOT 1
- Data_store error after lkp run in fedora:38 & archlinux:base docker
- Suggest using the `Closes:` tag instead of the `Link:` one HOT 2
- lkp install throws multiple errors HOT 1
- fail to install will-it-scale on fedora 38 HOT 1
- Incorrect paths and deprecated methods
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lkp-tests.