diff --git a/.bcc.metadata b/.bcc.metadata index 4c0f80b..4b4b7d0 100644 --- a/.bcc.metadata +++ b/.bcc.metadata @@ -1 +1 @@ -168b517240fd27aaa48f480d2470907fe1875dac SOURCES/bcc-0.8.0.tar.gz +e200806e56095091ff22a73c4c8ec294176527e2 SOURCES/bcc-0.11.0.tar.gz diff --git a/.gitignore b/.gitignore index 8294aed..88fc8f9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/bcc-0.8.0.tar.gz +SOURCES/bcc-0.11.0.tar.gz diff --git a/SOURCES/bcc-0.8.0-Manpages-remove-unstable-statement.patch b/SOURCES/bcc-0.11.0-Manpages-remove-unstable-statement.patch similarity index 83% rename from SOURCES/bcc-0.8.0-Manpages-remove-unstable-statement.patch rename to SOURCES/bcc-0.11.0-Manpages-remove-unstable-statement.patch index 07bc934..036cbb9 100644 --- a/SOURCES/bcc-0.8.0-Manpages-remove-unstable-statement.patch +++ b/SOURCES/bcc-0.11.0-Manpages-remove-unstable-statement.patch @@ -1,4 +1,4 @@ -From 40ee656096a21db9510fce73455def2b64550cf1 Mon Sep 17 00:00:00 2001 +From 4457d22318c0014bf498928fc66f66086df22bf1 Mon Sep 17 00:00:00 2001 From: Jerome Marchand Date: Tue, 6 Aug 2019 14:44:33 +0200 Subject: [PATCH] Manpages: remove unstable statement @@ -6,93 +6,97 @@ Subject: [PATCH] Manpages: remove unstable statement The tools are tested before each release. They should be stable enough. --- - man/man8/argdist.8 | 2 -- - man/man8/bashreadline.8 | 2 -- - man/man8/biolatency.8 | 2 -- - man/man8/biosnoop.8 | 2 -- - man/man8/biotop.8 | 2 -- - man/man8/bitesize.8 | 2 -- - man/man8/bpflist.8 | 2 -- - man/man8/bps.8 | 2 -- - man/man8/btrfsdist.8 | 2 -- - man/man8/btrfsslower.8 | 2 -- - man/man8/cachestat.8 | 2 -- - man/man8/cachetop.8 | 2 -- - man/man8/capable.8 | 2 -- - man/man8/cpudist.8 | 2 -- - man/man8/cpuunclaimed.8 | 2 -- - man/man8/criticalstat.8 | 2 -- - man/man8/dbslower.8 | 2 -- - man/man8/dbstat.8 | 2 -- - man/man8/dcsnoop.8 | 2 -- - man/man8/dcstat.8 | 2 -- - man/man8/deadlock_detector.8 | 2 -- - man/man8/execsnoop.8 | 2 -- - man/man8/ext4dist.8 | 2 -- - man/man8/ext4slower.8 | 2 -- - man/man8/filelife.8 | 2 -- - man/man8/fileslower.8 | 2 -- - man/man8/filetop.8 | 2 -- - man/man8/funccount.8 | 2 -- - man/man8/funclatency.8 | 2 -- - man/man8/funcslower.8 | 2 -- - man/man8/gethostlatency.8 | 2 -- - man/man8/hardirqs.8 | 2 -- - man/man8/inject.8 | 2 -- - man/man8/killsnoop.8 | 2 -- - man/man8/llcstat.8 | 2 -- - man/man8/mdflush.8 | 2 -- - man/man8/memleak.8 | 2 -- - man/man8/mountsnoop.8 | 2 -- - man/man8/mysqld_qslower.8 | 2 -- - man/man8/nfsdist.8 | 2 -- - man/man8/nfsslower.8 | 2 -- - man/man8/offcputime.8 | 2 -- - man/man8/offwaketime.8 | 2 -- - man/man8/oomkill.8 | 2 -- - man/man8/opensnoop.8 | 2 -- - man/man8/pidpersec.8 | 2 -- - man/man8/profile.8 | 2 -- - man/man8/reset-trace.8 | 2 -- - man/man8/runqlat.8 | 2 -- - man/man8/runqlen.8 | 2 -- - man/man8/runqslower.8 | 2 -- - man/man8/shmsnoop.8 | 2 -- - man/man8/slabratetop.8 | 2 -- - man/man8/softirqs.8 | 2 -- - man/man8/spfdsnoop.8 | 2 -- - man/man8/sslsniff.8 | 2 -- - man/man8/stackcount.8 | 2 -- - man/man8/statsnoop.8 | 2 -- - man/man8/syncsnoop.8 | 2 -- - man/man8/syscount.8 | 2 -- - man/man8/tcpaccept.8 | 2 -- - man/man8/tcpconnect.8 | 2 -- - man/man8/tcpconnlat.8 | 2 -- - man/man8/tcpdrop.8 | 2 -- - man/man8/tcplife.8 | 2 -- - man/man8/tcpretrans.8 | 2 -- - man/man8/tcpstates.8 | 2 -- - man/man8/tcpsubnet.8 | 2 -- - man/man8/tcptop.8 | 2 -- - man/man8/tcptracer.8 | 2 -- - man/man8/tplist.8 | 2 -- - man/man8/trace.8 | 2 -- - man/man8/ttysnoop.8 | 2 -- - man/man8/ucalls.8 | 2 -- - man/man8/uflow.8 | 2 -- - man/man8/ugc.8 | 2 -- - man/man8/uobjnew.8 | 2 -- - man/man8/ustat.8 | 2 -- - man/man8/uthreads.8 | 2 -- - man/man8/vfscount.8 | 2 -- - man/man8/vfsstat.8 | 2 -- - man/man8/wakeuptime.8 | 2 -- - man/man8/xfsdist.8 | 2 -- - man/man8/xfsslower.8 | 2 -- - man/man8/zfsdist.8 | 2 -- - man/man8/zfsslower.8 | 2 -- - 86 files changed, 172 deletions(-) + man/man8/argdist.8 | 2 -- + man/man8/bashreadline.8 | 2 -- + man/man8/biolatency.8 | 2 -- + man/man8/biosnoop.8 | 2 -- + man/man8/biotop.8 | 2 -- + man/man8/bitesize.8 | 2 -- + man/man8/bpflist.8 | 2 -- + man/man8/bps.8 | 2 -- + man/man8/btrfsdist.8 | 2 -- + man/man8/btrfsslower.8 | 2 -- + man/man8/cachestat.8 | 2 -- + man/man8/cachetop.8 | 2 -- + man/man8/capable.8 | 2 -- + man/man8/cpudist.8 | 2 -- + man/man8/cpuunclaimed.8 | 2 -- + man/man8/criticalstat.8 | 2 -- + man/man8/dbslower.8 | 2 -- + man/man8/dbstat.8 | 2 -- + man/man8/dcsnoop.8 | 2 -- + man/man8/dcstat.8 | 2 -- + man/man8/deadlock.8 | 2 -- + man/man8/drsnoop.8 | 2 -- + man/man8/execsnoop.8 | 2 -- + man/man8/exitsnoop.8 | 2 -- + man/man8/ext4dist.8 | 2 -- + man/man8/ext4slower.8 | 2 -- + man/man8/filelife.8 | 2 -- + man/man8/fileslower.8 | 2 -- + man/man8/filetop.8 | 2 -- + man/man8/funccount.8 | 2 -- + man/man8/funclatency.8 | 2 -- + man/man8/funcslower.8 | 2 -- + man/man8/gethostlatency.8 | 2 -- + man/man8/hardirqs.8 | 2 -- + man/man8/inject.8 | 4 ---- + man/man8/killsnoop.8 | 2 -- + man/man8/llcstat.8 | 2 -- + man/man8/mdflush.8 | 2 -- + man/man8/memleak.8 | 2 -- + man/man8/mountsnoop.8 | 2 -- + man/man8/mysqld_qslower.8 | 2 -- + man/man8/nfsdist.8 | 2 -- + man/man8/nfsslower.8 | 2 -- + man/man8/offcputime.8 | 2 -- + man/man8/offwaketime.8 | 2 -- + man/man8/oomkill.8 | 2 -- + man/man8/opensnoop.8 | 2 -- + man/man8/pidpersec.8 | 2 -- + man/man8/profile.8 | 2 -- + man/man8/reset-trace.8 | 2 -- + man/man8/runqlat.8 | 2 -- + man/man8/runqlen.8 | 2 -- + man/man8/runqslower.8 | 2 -- + man/man8/shmsnoop.8 | 2 -- + man/man8/slabratetop.8 | 2 -- + man/man8/sofdsnoop.8 | 2 -- + man/man8/softirqs.8 | 2 -- + man/man8/solisten.8 | 2 -- + man/man8/spfdsnoop.8 | 2 -- + man/man8/sslsniff.8 | 2 -- + man/man8/stackcount.8 | 2 -- + man/man8/statsnoop.8 | 2 -- + man/man8/syncsnoop.8 | 2 -- + man/man8/syscount.8 | 2 -- + man/man8/tcpaccept.8 | 2 -- + man/man8/tcpconnect.8 | 2 -- + man/man8/tcpconnlat.8 | 2 -- + man/man8/tcpdrop.8 | 2 -- + man/man8/tcplife.8 | 2 -- + man/man8/tcpretrans.8 | 2 -- + man/man8/tcpstates.8 | 2 -- + man/man8/tcpsubnet.8 | 2 -- + man/man8/tcptop.8 | 2 -- + man/man8/tcptracer.8 | 2 -- + man/man8/tplist.8 | 2 -- + man/man8/trace.8 | 2 -- + man/man8/ttysnoop.8 | 2 -- + man/man8/ucalls.8 | 2 -- + man/man8/uflow.8 | 2 -- + man/man8/ugc.8 | 2 -- + man/man8/uobjnew.8 | 2 -- + man/man8/ustat.8 | 2 -- + man/man8/uthreads.8 | 2 -- + man/man8/vfscount.8 | 2 -- + man/man8/vfsstat.8 | 2 -- + man/man8/wakeuptime.8 | 2 -- + man/man8/xfsdist.8 | 2 -- + man/man8/xfsslower.8 | 2 -- + man/man8/zfsdist.8 | 2 -- + man/man8/zfsslower.8 | 2 -- + 90 files changed, 182 deletions(-) diff --git a/man/man8/argdist.8 b/man/man8/argdist.8 index 4116cd4d..aa128d2d 100644 @@ -107,10 +111,10 @@ index 4116cd4d..aa128d2d 100644 .SH AUTHOR Sasha Goldshtein diff --git a/man/man8/bashreadline.8 b/man/man8/bashreadline.8 -index a70fc588..5358fba7 100644 +index 185598aa..9141ac63 100644 --- a/man/man8/bashreadline.8 +++ b/man/man8/bashreadline.8 -@@ -44,8 +44,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -53,8 +53,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -120,10 +124,10 @@ index a70fc588..5358fba7 100644 Brendan Gregg .SH SEE ALSO diff --git a/man/man8/biolatency.8 b/man/man8/biolatency.8 -index 84d261e2..11ee9b9d 100644 +index 7aa3dd89..8f3166f9 100644 --- a/man/man8/biolatency.8 +++ b/man/man8/biolatency.8 -@@ -88,8 +88,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -91,8 +91,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -133,10 +137,10 @@ index 84d261e2..11ee9b9d 100644 Brendan Gregg .SH SEE ALSO diff --git a/man/man8/biosnoop.8 b/man/man8/biosnoop.8 -index e5dbeaa4..3b2dc47b 100644 +index 2a41348c..ec16596c 100644 --- a/man/man8/biosnoop.8 +++ b/man/man8/biosnoop.8 -@@ -68,8 +68,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -79,8 +79,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -159,10 +163,10 @@ index ed25521f..b00bf68a 100644 Brendan Gregg .SH INSPIRATION diff --git a/man/man8/bitesize.8 b/man/man8/bitesize.8 -index 07046e8b..9210c010 100644 +index 99cdbaab..529a1e26 100644 --- a/man/man8/bitesize.8 +++ b/man/man8/bitesize.8 -@@ -44,8 +44,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -43,8 +43,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -209,10 +213,10 @@ index 480264f9..cbf75121 100644 Brendan Gregg .SH SEE ALSO diff --git a/man/man8/btrfsslower.8 b/man/man8/btrfsslower.8 -index 35af5dfd..3b94e493 100644 +index 9f0a89a6..409b0bb0 100644 --- a/man/man8/btrfsslower.8 +++ b/man/man8/btrfsslower.8 -@@ -107,8 +107,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -114,8 +114,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -222,10 +226,10 @@ index 35af5dfd..3b94e493 100644 Brendan Gregg .SH SEE ALSO diff --git a/man/man8/cachestat.8 b/man/man8/cachestat.8 -index 897d5af0..6ffa4850 100644 +index 172194d4..575941fc 100644 --- a/man/man8/cachestat.8 +++ b/man/man8/cachestat.8 -@@ -77,8 +77,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -76,8 +76,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -248,10 +252,10 @@ index 5642fa1d..1fe4067b 100644 Emmanuel Bretelle .SH SEE ALSO diff --git a/man/man8/capable.8 b/man/man8/capable.8 -index 3be75717..5d05e319 100644 +index e20eb78f..6f6137ed 100644 --- a/man/man8/capable.8 +++ b/man/man8/capable.8 -@@ -67,8 +67,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -72,8 +72,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -351,10 +355,10 @@ index e2bc4dc8..0501460f 100644 .SH AUTHOR Brendan Gregg .SH SEE ALSO -diff --git a/man/man8/deadlock_detector.8 b/man/man8/deadlock_detector.8 -index 0b23e3e6..1f934200 100644 ---- a/man/man8/deadlock_detector.8 -+++ b/man/man8/deadlock_detector.8 +diff --git a/man/man8/deadlock.8 b/man/man8/deadlock.8 +index 0be3f4ab..7300446a 100644 +--- a/man/man8/deadlock.8 ++++ b/man/man8/deadlock.8 @@ -136,7 +136,5 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS @@ -363,11 +367,23 @@ index 0b23e3e6..1f934200 100644 -Unstable - in development. .SH AUTHOR Kenny Yu +diff --git a/man/man8/drsnoop.8 b/man/man8/drsnoop.8 +index 98e27e56..b8276b3e 100644 +--- a/man/man8/drsnoop.8 ++++ b/man/man8/drsnoop.8 +@@ -104,7 +104,5 @@ Also look in the bcc distribution for a companion _examples.txt file containing + example usage, output, and commentary for this tool. + .SH OS + Linux +-.SH STABILITY +-Unstable - in development. + .SH AUTHOR + Ethercflow diff --git a/man/man8/execsnoop.8 b/man/man8/execsnoop.8 -index 0efd89f4..a0b27ae7 100644 +index 500a9321..938fde0d 100644 --- a/man/man8/execsnoop.8 +++ b/man/man8/execsnoop.8 -@@ -99,8 +99,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -109,8 +109,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -376,6 +392,19 @@ index 0efd89f4..a0b27ae7 100644 .SH AUTHOR Brendan Gregg .SH SEE ALSO +diff --git a/man/man8/exitsnoop.8 b/man/man8/exitsnoop.8 +index fb1942b4..f4b0b563 100644 +--- a/man/man8/exitsnoop.8 ++++ b/man/man8/exitsnoop.8 +@@ -95,8 +95,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing + example usage, output, and commentary for this tool. + .SH OS + Linux +-.SH STABILITY +-Unstable - in development. + .SH AUTHOR + Arturo Martin-de-Nicolas + .SH SEE ALSO diff --git a/man/man8/ext4dist.8 b/man/man8/ext4dist.8 index 61ecb727..ba17fc3d 100644 --- a/man/man8/ext4dist.8 @@ -507,15 +536,17 @@ index 8e7237a9..9e6975c9 100644 Brendan Gregg .SH SEE ALSO diff --git a/man/man8/inject.8 b/man/man8/inject.8 -index 0cf729e2..15589492 100644 +index 2ab80dbb..85b36b6e 100644 --- a/man/man8/inject.8 +++ b/man/man8/inject.8 -@@ -43,7 +43,5 @@ Also look in the bcc distribution for a companion _examples.txt file containing - example usage, output, and commentary for this tool. - .SH OS +@@ -112,9 +112,5 @@ example usage, output, and commentary for this tool. Linux + + -.SH STABILITY -Unstable - in development. +- +- .SH AUTHOR Howard McLauchlan diff --git a/man/man8/killsnoop.8 b/man/man8/killsnoop.8 @@ -622,10 +653,10 @@ index 19eb6359..416c081e 100644 Samuel Nair .SH SEE ALSO diff --git a/man/man8/offcputime.8 b/man/man8/offcputime.8 -index 440c1dd4..f9116df4 100644 +index be5387b9..270991d8 100644 --- a/man/man8/offcputime.8 +++ b/man/man8/offcputime.8 -@@ -113,8 +113,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -110,8 +110,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -661,10 +692,10 @@ index b6d6f9e1..965ba545 100644 Brendan Gregg .SH SEE ALSO diff --git a/man/man8/opensnoop.8 b/man/man8/opensnoop.8 -index 9d99a907..688792b9 100644 +index 37b40a47..10741406 100644 --- a/man/man8/opensnoop.8 +++ b/man/man8/opensnoop.8 -@@ -136,8 +136,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -137,8 +137,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -687,10 +718,10 @@ index 2164ffaf..9d272c81 100644 Brendan Gregg .SH SEE ALSO diff --git a/man/man8/profile.8 b/man/man8/profile.8 -index abdd6e3b..925ef1ae 100644 +index 88311e7e..9cd3ca44 100644 --- a/man/man8/profile.8 +++ b/man/man8/profile.8 -@@ -132,8 +132,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -141,8 +141,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -776,6 +807,16 @@ index bfe897fc..18d1e5ea 100644 .SH AUTHOR Brendan Gregg .SH SEE ALSO +diff --git a/man/man8/sofdsnoop.8 b/man/man8/sofdsnoop.8 +index cd3ffa27..94432544 100644 +--- a/man/man8/sofdsnoop.8 ++++ b/man/man8/sofdsnoop.8 +@@ -58,5 +58,3 @@ Also look in the bcc distribution for a companion _examples.txt file containing + example usage, output, and commentary for this tool. + .SH OS + Linux +-.SH STABILITY +-Unstable - in development. diff --git a/man/man8/softirqs.8 b/man/man8/softirqs.8 index a9a14414..df2fc90b 100644 --- a/man/man8/softirqs.8 @@ -789,6 +830,16 @@ index a9a14414..df2fc90b 100644 .SH AUTHORS Brendan Gregg, Sasha Goldshtein .SH SEE ALSO +diff --git a/man/man8/solisten.8 b/man/man8/solisten.8 +index 4d8ffe95..fd863447 100644 +--- a/man/man8/solisten.8 ++++ b/man/man8/solisten.8 +@@ -45,5 +45,3 @@ Also look in the bcc distribution for a companion _examples.txt file containing + example usage, output, and commentary for this tool. + .SH OS + Linux +-.SH STABILITY +-Unstable - in development. diff --git a/man/man8/spfdsnoop.8 b/man/man8/spfdsnoop.8 index ffad57c5..df80437f 100644 --- a/man/man8/spfdsnoop.8 @@ -816,10 +867,10 @@ index 72836e27..b9254645 100644 Adrian Lopez and Mark Drayton .SH SEE ALSO diff --git a/man/man8/stackcount.8 b/man/man8/stackcount.8 -index d6ab993a..fd1e45e8 100644 +index d2459561..2cf789c1 100644 --- a/man/man8/stackcount.8 +++ b/man/man8/stackcount.8 -@@ -134,8 +134,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -150,8 +150,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -868,10 +919,10 @@ index d13793be..88343e14 100644 Sasha Goldshtein .SH SEE ALSO diff --git a/man/man8/tcpaccept.8 b/man/man8/tcpaccept.8 -index 837717b8..63bef21c 100644 +index 6e340bd0..550e9b55 100644 --- a/man/man8/tcpaccept.8 +++ b/man/man8/tcpaccept.8 -@@ -78,8 +78,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -94,8 +94,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -881,10 +932,10 @@ index 837717b8..63bef21c 100644 Brendan Gregg .SH SEE ALSO diff --git a/man/man8/tcpconnect.8 b/man/man8/tcpconnect.8 -index 60de372c..455abbf9 100644 +index 9bf44e9c..60721bc8 100644 --- a/man/man8/tcpconnect.8 +++ b/man/man8/tcpconnect.8 -@@ -103,8 +103,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -111,8 +111,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -907,7 +958,7 @@ index 996c21bb..7af1c57b 100644 Brendan Gregg .SH SEE ALSO diff --git a/man/man8/tcpdrop.8 b/man/man8/tcpdrop.8 -index a21e885b..b8812c6d 100644 +index 12806472..a2e2860c 100644 --- a/man/man8/tcpdrop.8 +++ b/man/man8/tcpdrop.8 @@ -65,8 +65,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing @@ -920,7 +971,7 @@ index a21e885b..b8812c6d 100644 Brendan Gregg .SH SEE ALSO diff --git a/man/man8/tcplife.8 b/man/man8/tcplife.8 -index f6b89916..8f017bfe 100644 +index a2419c61..a2a2550c 100644 --- a/man/man8/tcplife.8 +++ b/man/man8/tcplife.8 @@ -122,8 +122,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing @@ -946,7 +997,7 @@ index e4f6fbf6..b08b0fe4 100644 Brendan Gregg .SH SEE ALSO diff --git a/man/man8/tcpstates.8 b/man/man8/tcpstates.8 -index d78161bb..d84e4a26 100644 +index 26c7a8a1..d93c198d 100644 --- a/man/man8/tcpstates.8 +++ b/man/man8/tcpstates.8 @@ -123,8 +123,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing @@ -1010,10 +1061,10 @@ index da5edf37..f7e459da 100644 .SH AUTHOR Sasha Goldshtein diff --git a/man/man8/trace.8 b/man/man8/trace.8 -index c12dd794..0b3b405d 100644 +index ebbb4383..9e28c956 100644 --- a/man/man8/trace.8 +++ b/man/man8/trace.8 -@@ -186,7 +186,5 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -197,7 +197,5 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -1113,10 +1164,10 @@ index 6acffa56..5a91f2d4 100644 Sasha Goldshtein .SH SEE ALSO diff --git a/man/man8/vfscount.8 b/man/man8/vfscount.8 -index 44acffce..032bc946 100644 +index febbc9e6..0cc65adf 100644 --- a/man/man8/vfscount.8 +++ b/man/man8/vfscount.8 -@@ -46,8 +46,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing +@@ -54,8 +54,6 @@ Also look in the bcc distribution for a companion _examples.txt file containing example usage, output, and commentary for this tool. .SH OS Linux @@ -1204,5 +1255,5 @@ index 8f5c8cf3..95c0c09d 100644 Brendan Gregg .SH SEE ALSO -- -2.20.1 +2.23.0 diff --git a/SOURCES/bcc-0.11.0-man-add-missing-c-option-to-tcpretrans-synopsis.patch b/SOURCES/bcc-0.11.0-man-add-missing-c-option-to-tcpretrans-synopsis.patch new file mode 100644 index 0000000..21bed81 --- /dev/null +++ b/SOURCES/bcc-0.11.0-man-add-missing-c-option-to-tcpretrans-synopsis.patch @@ -0,0 +1,25 @@ +From 930846dc2c49281c693c2e39a0a2d21c650c61de Mon Sep 17 00:00:00 2001 +From: Jerome Marchand +Date: Fri, 9 Aug 2019 13:15:13 +0200 +Subject: [PATCH] man: add missing -c option to tcpretrans synopsis + +--- + man/man8/tcpretrans.8 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/man/man8/tcpretrans.8 b/man/man8/tcpretrans.8 +index e4f6fbf6..0ac82afa 100644 +--- a/man/man8/tcpretrans.8 ++++ b/man/man8/tcpretrans.8 +@@ -2,7 +2,7 @@ + .SH NAME + tcpretrans \- Trace or count TCP retransmits and TLPs. Uses Linux eBPF/bcc. + .SH SYNOPSIS +-.B tcpretrans [\-h] [\-l] ++.B tcpretrans [\-h] [\-l] [\-c] + .SH DESCRIPTION + This traces TCP retransmits, showing address, port, and TCP state information, + and sometimes the PID (although usually not, since retransmits are usually +-- +2.23.0 + diff --git a/SOURCES/bcc-0.8.0-fix-b.support_raw_tracepoint-for-5.0-kernel.patch b/SOURCES/bcc-0.8.0-fix-b.support_raw_tracepoint-for-5.0-kernel.patch deleted file mode 100644 index e350363..0000000 --- a/SOURCES/bcc-0.8.0-fix-b.support_raw_tracepoint-for-5.0-kernel.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 0f5849187972a50adf0d9eaa8788c11f9fd926ea Mon Sep 17 00:00:00 2001 -From: Yonghong Song -Date: Thu, 28 Feb 2019 11:18:04 -0800 -Subject: [PATCH] fix b.support_raw_tracepoint for 5.0 kernel - -Fix issue #2240. - -In 5.0, the following commit - commit a38d1107f937ca95dcf820161ef44ea683d6a0b1 - Author: Matt Mullins - Date: Wed Dec 12 16:42:37 2018 -0800 - - bpf: support raw tracepoints in modules -renamed the function bpf_find_raw_tracepoint() to -bpf_get_raw_tracepoint(). The bcc relies on checking -bpf_find_raw_tracepoint() in /proc/kallsyms to detect -whether raw_tracepoint is supported in kernel or not. - -We do not have better mechanism to detect raw_tracepoint -support without additional syscalls. So tentatively, -let us just check bpf_get_raw_tracepoint() ksym as well -for raw_tracepoint support. - -Signed-off-by: Yonghong Song ---- - src/python/bcc/__init__.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/python/bcc/__init__.py b/src/python/bcc/__init__.py -index 01d5604b..69a048f3 100644 ---- a/src/python/bcc/__init__.py -+++ b/src/python/bcc/__init__.py -@@ -858,7 +858,8 @@ DEBUG_BTF = 0x20 - @staticmethod - def support_raw_tracepoint(): - # kernel symbol "bpf_find_raw_tracepoint" indicates raw_tracepint support -- if BPF.ksymname("bpf_find_raw_tracepoint") != -1: -+ if BPF.ksymname("bpf_find_raw_tracepoint") != -1 or \ -+ BPF.ksymname("bpf_get_raw_tracepoint") != -1: - return True - return False - --- -2.20.1 - diff --git a/SOURCES/bcc-0.8.0-print_log2_hist-check-and-skip-possible-paddings-215.patch b/SOURCES/bcc-0.8.0-print_log2_hist-check-and-skip-possible-paddings-215.patch deleted file mode 100644 index de3dbc3..0000000 --- a/SOURCES/bcc-0.8.0-print_log2_hist-check-and-skip-possible-paddings-215.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 3f7b59660037c0d5dea785d115df25d9b95f07dc Mon Sep 17 00:00:00 2001 -From: Xiaozhou Liu -Date: Mon, 21 Jan 2019 11:23:42 +0800 -Subject: [PATCH] print_log2_hist(): check and skip possible paddings (#2155) - -Address issue 2154. - -When a struct S is used as key to a BPF_HISTOGRAM, it is assumed that the second -member of S holds the slot. But when S is converted to python from bpf C, -a padding may be inserted as a second member. This breaks print_log2_hist(). - - root@debian:~/bcc/tools# ./softirqs.py -d - Tracing soft irq event time... Hit Ctrl-C to end. - ^C - Traceback (most recent call last): - File "./softirqs.py", line 144, in - dist.print_log2_hist(label, "softirq", section_print_fn=vec_to_name) - File "/usr/local/lib/python2.7/dist-packages/bcc/table.py", line 326, in print_log2_hist - vals[slot] = v.value - TypeError: list indices must be integers, not str - -Fix it by skipping the possible padding. Future work would be fixing/working -around in the library where the padding is introduced. ---- - src/python/bcc/table.py | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/src/python/bcc/table.py b/src/python/bcc/table.py -index 6f598353..f6449de7 100644 ---- a/src/python/bcc/table.py -+++ b/src/python/bcc/table.py -@@ -317,6 +317,15 @@ linear_index_max = 1025 - tmp = {} - f1 = self.Key._fields_[0][0] - f2 = self.Key._fields_[1][0] -+ -+ # The above code assumes that self.Key._fields_[1][0] holds the -+ # slot. But a padding member may have been inserted here, which -+ # breaks the assumption and leads to chaos. -+ # TODO: this is a quick fix. Fixing/working around in the BCC -+ # internal library is the right thing to do. -+ if f2 == '__pad_1' and len(self.Key._fields_) == 3: -+ f2 = self.Key._fields_[2][0] -+ - for k, v in self.items(): - bucket = getattr(k, f1) - if bucket_fn: --- -2.20.1 - diff --git a/SOURCES/bcc-0.8.0-tools-fix-runqslower-warning.patch b/SOURCES/bcc-0.8.0-tools-fix-runqslower-warning.patch deleted file mode 100644 index af7e5d8..0000000 --- a/SOURCES/bcc-0.8.0-tools-fix-runqslower-warning.patch +++ /dev/null @@ -1,37 +0,0 @@ -From bac633a6bb60b6b8542348ea3f61c367eae14f7c Mon Sep 17 00:00:00 2001 -From: Jerome Marchand -Date: Wed, 3 Jul 2019 11:12:08 +0200 -Subject: [PATCH] tools: fix runqslower warning - -The state member of task_struct is volatile and it's use as the last -parameter of bpf_probe_read (const void *) triggers the following -clang warning (LLVM 8): - -/virtual/main.c:56:42: warning: passing 'volatile long *' to parameter of type 'const void *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] - bpf_probe_read(&state, sizeof(long), &prev->state); - ^~~~~~~~~~~~ -1 warning generated. -Tracing run queue latency higher than 10000 us -TIME COMM PID LAT(us) - -An explicit cast fixes the warning. ---- - tools/runqslower.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/tools/runqslower.py b/tools/runqslower.py -index 1d48be8a..5f5c3b9b 100755 ---- a/tools/runqslower.py -+++ b/tools/runqslower.py -@@ -167,7 +167,7 @@ RAW_TRACEPOINT_PROBE(sched_switch) - long state; - - // ivcsw: treat like an enqueue event and store timestamp -- bpf_probe_read(&state, sizeof(long), &prev->state); -+ bpf_probe_read(&state, sizeof(long), (const void *)&prev->state); - if (state == TASK_RUNNING) { - bpf_probe_read(&tgid, sizeof(prev->tgid), &prev->tgid); - bpf_probe_read(&pid, sizeof(prev->pid), &prev->pid); --- -2.20.1 - diff --git a/SOURCES/bcc-0.8.0-tools-fix-some-python3-bytes-vs-strings-issues-2205.patch b/SOURCES/bcc-0.8.0-tools-fix-some-python3-bytes-vs-strings-issues-2205.patch deleted file mode 100644 index 7942084..0000000 --- a/SOURCES/bcc-0.8.0-tools-fix-some-python3-bytes-vs-strings-issues-2205.patch +++ /dev/null @@ -1,111 +0,0 @@ -From f03beca4d6e6bc3fa7089416d752387bd26904dc Mon Sep 17 00:00:00 2001 -From: Jerome Marchand -Date: Fri, 15 Feb 2019 17:35:37 +0100 -Subject: [PATCH] tools: fix some python3 bytes vs strings issues (#2205) - -It fixes the following errors: - -$ execsnoop.py -q -PCOMM PID PPID RET ARGS -Traceback (most recent call last): - File "_ctypes/callbacks.c", line 234, in 'calling callback function' - File "/usr/lib/python3.6/site-packages/bcc/table.py", line 572, in raw_cb_ - callback(cpu, data, size) - File "tools/execsnoop.py", line 229, in print_event - for arg in argv[event.pid] - File "tools/execsnoop.py", line 229, in - for arg in argv[event.pid] -TypeError: a bytes-like object is required, not 'str' - -$ offcputime.py -K -f 5 -Traceback (most recent call last): - File "./tools/offcputime.py", line 298, in - print("%s %d" % (";".join(line), v.value)) -TypeError: sequence item 1: expected str instance, bytes found - -$ offwaketime.py -f 5 -Traceback (most recent call last): - File "./tools/offwaketime.py", line 350, in - print("%s %d" % (";".join(line), v.value)) -TypeError: sequence item 1: expected str instance, bytes found ---- - tools/execsnoop.py | 2 +- - tools/offcputime.py | 6 ++++-- - tools/offwaketime.py | 8 ++++---- - 3 files changed, 9 insertions(+), 7 deletions(-) - -diff --git a/tools/execsnoop.py b/tools/execsnoop.py -index c4021165..1ce83e07 100755 ---- a/tools/execsnoop.py -+++ b/tools/execsnoop.py -@@ -210,7 +210,7 @@ argv = defaultdict(list) - skip = True - if args.quote: - argv[event.pid] = [ -- "\"" + arg.replace("\"", "\\\"") + "\"" -+ b"\"" + arg.replace(b"\"", b"\\\"") + b"\"" - for arg in argv[event.pid] - ] - -diff --git a/tools/offcputime.py b/tools/offcputime.py -index d84ae529..ac3b7281 100755 ---- a/tools/offcputime.py -+++ b/tools/offcputime.py -@@ -288,13 +288,15 @@ stack_traces = b.get_table("stack_traces") - if stack_id_err(k.user_stack_id): - line.append("[Missed User Stack]") - else: -- line.extend([b.sym(addr, k.tgid) for addr in reversed(user_stack)]) -+ line.extend([b.sym(addr, k.tgid).decode('utf-8', 'replace') -+ for addr in reversed(user_stack)]) - if not args.user_stacks_only: - line.extend(["-"] if (need_delimiter and k.kernel_stack_id >= 0 and k.user_stack_id >= 0) else []) - if stack_id_err(k.kernel_stack_id): - line.append("[Missed Kernel Stack]") - else: -- line.extend([b.ksym(addr) for addr in reversed(kernel_stack)]) -+ line.extend([b.ksym(addr).decode('utf-8', 'replace') -+ for addr in reversed(kernel_stack)]) - print("%s %d" % (";".join(line), v.value)) - else: - # print default multi-line stack output -diff --git a/tools/offwaketime.py b/tools/offwaketime.py -index 38a9ff25..4a1cebab 100755 ---- a/tools/offwaketime.py -+++ b/tools/offwaketime.py -@@ -323,28 +323,28 @@ need_delimiter = args.delimited and not (args.kernel_stacks_only or - if stack_id_err(k.t_u_stack_id): - line.append("[Missed User Stack]") - else: -- line.extend([b.sym(addr, k.t_tgid) -+ line.extend([b.sym(addr, k.t_tgid).decode('utf-8', 'replace') - for addr in reversed(list(target_user_stack)[1:])]) - if not args.user_stacks_only: - line.extend(["-"] if (need_delimiter and k.t_k_stack_id > 0 and k.t_u_stack_id > 0) else []) - if stack_id_err(k.t_k_stack_id): - line.append("[Missed Kernel Stack]") - else: -- line.extend([b.ksym(addr) -+ line.extend([b.ksym(addr).decode('utf-8', 'replace') - for addr in reversed(list(target_kernel_stack)[1:])]) - line.append("--") - if not args.user_stacks_only: - if stack_id_err(k.w_k_stack_id): - line.append("[Missed Kernel Stack]") - else: -- line.extend([b.ksym(addr) -+ line.extend([b.ksym(addr).decode('utf-8', 'replace') - for addr in reversed(list(waker_kernel_stack))]) - if not args.kernel_stacks_only: - line.extend(["-"] if (need_delimiter and k.w_u_stack_id > 0 and k.w_k_stack_id > 0) else []) - if stack_id_err(k.w_u_stack_id): - line.append("[Missed User Stack]") - else: -- line.extend([b.sym(addr, k.w_tgid) -+ line.extend([b.sym(addr, k.w_tgid).decode('utf-8', 'replace') - for addr in reversed(list(waker_user_stack))]) - line.append(k.waker.decode('utf-8', 'replace')) - print("%s %d" % (";".join(line), v.value)) --- -2.20.1 - diff --git a/SOURCES/bcc-0.8.0-usdt-s390x.patch b/SOURCES/bcc-0.8.0-usdt-s390x.patch deleted file mode 100644 index 54670c3..0000000 --- a/SOURCES/bcc-0.8.0-usdt-s390x.patch +++ /dev/null @@ -1,180 +0,0 @@ -From ba41501bb2ca89312061b31c08e570a11c092370 Mon Sep 17 00:00:00 2001 -From: mephi42 -Date: Tue, 12 Mar 2019 07:02:56 +0100 -Subject: [PATCH] Add basic USDT support for s390x (#2266) - -Approach and code shamelessly borrowed from "422db709: Add basic USDT -support for powerpc64". ---- - src/cc/usdt.h | 7 +++++ - src/cc/usdt/usdt.cc | 2 ++ - src/cc/usdt/usdt_args.cc | 53 ++++++++++++++++++++++++++++++++++++++ - tests/cc/test_usdt_args.cc | 46 +++++++++++++++++++++++++++++++++ - 4 files changed, 108 insertions(+) - -diff --git a/src/cc/usdt.h b/src/cc/usdt.h -index 6d89fd644..406cfd546 100644 ---- a/src/cc/usdt.h -+++ b/src/cc/usdt.h -@@ -81,6 +81,7 @@ class Argument { - friend class ArgumentParser; - friend class ArgumentParser_aarch64; - friend class ArgumentParser_powerpc64; -+ friend class ArgumentParser_s390x; - friend class ArgumentParser_x64; - }; - -@@ -130,6 +131,12 @@ class ArgumentParser_powerpc64 : public ArgumentParser { - ArgumentParser_powerpc64(const char *arg) : ArgumentParser(arg) {} - }; - -+class ArgumentParser_s390x : public ArgumentParser { -+public: -+ bool parse(Argument *dest); -+ ArgumentParser_s390x(const char *arg) : ArgumentParser(arg) {} -+}; -+ - class ArgumentParser_x64 : public ArgumentParser { - private: - enum Register { -diff --git a/src/cc/usdt/usdt.cc b/src/cc/usdt/usdt.cc -index 0914fe3a5..c91faa016 100644 ---- a/src/cc/usdt/usdt.cc -+++ b/src/cc/usdt/usdt.cc -@@ -40,6 +40,8 @@ Location::Location(uint64_t addr, const std::string &bin_path, const char *arg_f - ArgumentParser_aarch64 parser(arg_fmt); - #elif __powerpc64__ - ArgumentParser_powerpc64 parser(arg_fmt); -+#elif __s390x__ -+ ArgumentParser_s390x parser(arg_fmt); - #else - ArgumentParser_x64 parser(arg_fmt); - #endif -diff --git a/src/cc/usdt/usdt_args.cc b/src/cc/usdt/usdt_args.cc -index b27e515f4..3e2045575 100644 ---- a/src/cc/usdt/usdt_args.cc -+++ b/src/cc/usdt/usdt_args.cc -@@ -285,6 +285,59 @@ bool ArgumentParser_powerpc64::parse(Argument *dest) { - return true; - } - -+bool ArgumentParser_s390x::parse(Argument *dest) { -+ if (done()) -+ return false; -+ -+ bool matched; -+ std::cmatch matches; -+#define S390X_IMM "(-?[0-9]+)" -+ std::regex arg_n_regex("^" S390X_IMM "@"); -+ // -+ std::regex arg_op_regex_imm("^" S390X_IMM "(?: +|$)"); -+ // %r -+#define S390X_REG "%r([0-9]|1[0-5])" -+ std::regex arg_op_regex_reg("^" S390X_REG "(?: +|$)"); -+ // (%r,%r) -+ std::regex arg_op_regex_mem("^" S390X_IMM "?\\(" S390X_REG -+ "(?:," S390X_REG ")?\\)(?: +|$)"); -+#undef S390X_IMM -+#undef S390X_REG -+ -+ matched = std::regex_search(arg_ + cur_pos_, matches, arg_n_regex); -+ if (matched) { -+ dest->arg_size_ = stoi(matches.str(1)); -+ cur_pos_ += matches.length(0); -+ -+ if (std::regex_search(arg_ + cur_pos_, matches, arg_op_regex_imm)) { -+ dest->constant_ = stoi(matches.str(1)); -+ } else if (std::regex_search(arg_ + cur_pos_, matches, arg_op_regex_reg)) { -+ dest->base_register_name_ = "gprs[" + matches.str(1) + "]"; -+ } else if (std::regex_search(arg_ + cur_pos_, matches, arg_op_regex_mem)) { -+ if (matches.length(1) > 0) { -+ dest->deref_offset_ = stoi(matches.str(1)); -+ } -+ dest->base_register_name_ = "gprs[" + matches.str(2) + "]"; -+ if (matches.length(3) > 0) { -+ dest->index_register_name_ = "gprs[" + matches.str(3) + "]"; -+ } -+ } else { -+ matched = false; -+ } -+ } -+ -+ if (!matched) { -+ print_error(cur_pos_); -+ skip_until_whitespace_from(cur_pos_); -+ skip_whitespace_from(cur_pos_); -+ return false; -+ } -+ -+ cur_pos_ += matches.length(0); -+ skip_whitespace_from(cur_pos_); -+ return true; -+} -+ - ssize_t ArgumentParser_x64::parse_identifier(ssize_t pos, - optional *result) { - if (isalpha(arg_[pos]) || arg_[pos] == '_') { -diff --git a/tests/cc/test_usdt_args.cc b/tests/cc/test_usdt_args.cc -index 3a96c5aac..db1f8c8e6 100644 ---- a/tests/cc/test_usdt_args.cc -+++ b/tests/cc/test_usdt_args.cc -@@ -58,6 +58,8 @@ TEST_CASE("test usdt argument parsing", "[usdt]") { - USDT::ArgumentParser_aarch64 parser("4@[x32,200]"); - #elif __powerpc64__ - USDT::ArgumentParser_powerpc64 parser("4@-12(42)"); -+#elif __s390x__ -+ USDT::ArgumentParser_s390x parser("4@-12(%r42)"); - #elif defined(__x86_64__) - USDT::ArgumentParser_x64 parser("4@i%ra+1r"); - #endif -@@ -121,6 +123,50 @@ TEST_CASE("test usdt argument parsing", "[usdt]") { - verify_register(parser, 2, 1097); - verify_register(parser, 4, "gpr[30]", 108); - verify_register(parser, -2, "gpr[31]", -4); -+#elif __s390x__ -+ USDT::ArgumentParser_s390x parser( -+ "-4@%r0 8@%r0 8@0 4@0(%r0) -2@0(%r0) " -+ "1@%r0 -2@%r3 -8@9 -1@0(%r4) -4@16(%r6) " -+ "2@%r7 4@%r11 4@-67 8@-16(%r15) 1@-52(%r11) " -+ "-8@%r4 -8@%r14 2@-11 -2@14(%r13) -8@-32(%r12) " -+ "4@%r5 2@%r11 -8@-693 -1@-23(%r10) 4@28(%r9) " -+ "-2@%r3 -4@%r8 2@1097 4@108(%r7) -2@-4(%r6)"); -+ -+ verify_register(parser, -4, "gprs[0]"); -+ verify_register(parser, 8, "gprs[0]"); -+ verify_register(parser, 8, 0); -+ verify_register(parser, 4, "gprs[0]", 0); -+ verify_register(parser, -2, "gprs[0]", 0); -+ -+ verify_register(parser, 1, "gprs[0]"); -+ verify_register(parser, -2, "gprs[3]"); -+ verify_register(parser, -8, 9); -+ verify_register(parser, -1, "gprs[4]", 0); -+ verify_register(parser, -4, "gprs[6]", 16); -+ -+ verify_register(parser, 2, "gprs[7]"); -+ verify_register(parser, 4, "gprs[11]"); -+ verify_register(parser, 4, -67); -+ verify_register(parser, 8, "gprs[15]", -16); -+ verify_register(parser, 1, "gprs[11]", -52); -+ -+ verify_register(parser, -8, "gprs[4]"); -+ verify_register(parser, -8, "gprs[14]"); -+ verify_register(parser, 2, -11); -+ verify_register(parser, -2, "gprs[13]", 14); -+ verify_register(parser, -8, "gprs[12]", -32); -+ -+ verify_register(parser, 4, "gprs[5]"); -+ verify_register(parser, 2, "gprs[11]"); -+ verify_register(parser, -8, -693); -+ verify_register(parser, -1, "gprs[10]", -23); -+ verify_register(parser, 4, "gprs[9]", 28); -+ -+ verify_register(parser, -2, "gprs[3]"); -+ verify_register(parser, -4, "gprs[8]"); -+ verify_register(parser, 2, 1097); -+ verify_register(parser, 4, "gprs[7]", 108); -+ verify_register(parser, -2, "gprs[6]", -4); - #elif defined(__x86_64__) - USDT::ArgumentParser_x64 parser( - "-4@$0 8@$1234 %rdi %rax %rsi " diff --git a/SPECS/bcc.spec b/SPECS/bcc.spec index 88b63d6..7b7d311 100644 --- a/SPECS/bcc.spec +++ b/SPECS/bcc.spec @@ -4,18 +4,23 @@ %bcond_without llvm_static Name: bcc -Version: 0.8.0 -Release: 4%{?dist} +Version: 0.11.0 +Release: 2%{?dist} Summary: BPF Compiler Collection (BCC) License: ASL 2.0 URL: https://github.com/iovisor/bcc -Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz -Patch0: %{name}-%{version}-usdt-s390x.patch -Patch1: %{name}-%{version}-print_log2_hist-check-and-skip-possible-paddings-215.patch -Patch2: %{name}-%{version}-tools-fix-some-python3-bytes-vs-strings-issues-2205.patch -Patch3: %{name}-%{version}-fix-b.support_raw_tracepoint-for-5.0-kernel.patch -Patch4: %{name}-%{version}-tools-fix-runqslower-warning.patch -Patch5: %{name}-%{version}-Manpages-remove-unstable-statement.patch +# Generate source tarball until upstream bug is fixed +# See https://github.com/iovisor/bcc/issues/2261 +# To generate the tarball, use the following commands +# git clone -b "v0.11.0" --single-branch --depth 1 url bcc-0.11.0 +# pushd bcc-0.11.0 +# git submodule update --init +# popd +# tar zcvf bcc-0.11.0.tar.gz bcc-0.11.0/ +#Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +Source0: %{name}-%{version}.tar.gz +Patch1: %{name}-%{version}-Manpages-remove-unstable-statement.patch +patch2: %{name}-%{version}-man-add-missing-c-option-to-tcpretrans-synopsis.patch # Arches will be included as upstream support is added and dependencies are # satisfied in the respective arches @@ -148,11 +153,11 @@ done %doc README.md %license LICENSE.txt %{_libdir}/lib%{name}.so.* -%{_libdir}/libbpf.so.* +%{_libdir}/libbcc_bpf.so.* %files devel %{_libdir}/lib%{name}.so -%{_libdir}/libbpf.so +%{_libdir}/libbcc_bpf.so %{_libdir}/pkgconfig/lib%{name}.pc %{_includedir}/%{name}/ @@ -184,6 +189,10 @@ done %exclude %{_datadir}/%{name}/tools/zfs* %exclude %{_datadir}/%{name}/tools/doc/zfs* %exclude %{_mandir}/man8/bcc-zfs* +# criticalstat relies on CONFIG_PREEMPTIRQ_EVENTS which is disabled on RHEL 8 +%exclude %{_datadir}/%{name}/tools/criticalstat +%exclude %{_datadir}/%{name}/tools/doc/criticalstat_example.txt +%exclude %{_mandir}/man8/criticalstat.8 %{_mandir}/man8/* %if %{with lua} @@ -193,6 +202,19 @@ done %changelog +* Wed Dec 04 2019 Jerome Marchand - 0.11.0-2 +- Add -c option ton the synopsis of tcpretrans manpage + +* Tue Nov 26 2019 Jerome Marchand - 0.11.0-1 +- Rebase to bcc-0.11.0 +- Reinstate the unstable comment patch that has been removed by mistake + +* Thu Oct 17 2019 Jerome Marchand - 0.10.0-1 +- Rebase to bcc-0.10.0 +- Drop criticalstat +- Fix regression on vfscount and runqslower +- Rebuild on LLVM 9 + * Tue Aug 06 2019 Jerome Marchand - 0.8.0-4 - remove unstable statement from the man pages