-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
05fa5fa
commit 3d37b4a
Showing
33 changed files
with
979 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Using the container-based infrastructure | ||
sudo: false | ||
|
||
language: perl | ||
perl: | ||
- "5.24" | ||
- "5.22" | ||
- "5.20" | ||
- "5.18" | ||
- "5.16" | ||
- "5.14" | ||
- "5.12" | ||
- "5.10" | ||
|
||
install: | ||
/bin/true | ||
|
||
script: | ||
./test.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
set -v -x | ||
|
||
for opt in pid tid inline kernel context ; do | ||
for t in test/*.txt ; do | ||
echo testing $t : $opt | ||
./stackcollapse-perf.pl --"${opt}" "${t}" 2> /dev/null > test/results/"${t#*/}"-collapsed-"${opt}".txt | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
set -x | ||
set -v | ||
|
||
|
||
for opt in pid tid inline kernel context ; do | ||
for t in test/*.txt ; do | ||
echo testing $t : $opt | ||
outfile=test/results/${t#*/}-collapsed-${opt}.txt | ||
perl ./stackcollapse-perf.pl --"${opt}" "${t}" 2> /dev/null | diff -u - "${outfile}" | ||
perl ./flamegraph.pl "${outfile}" > /dev/null | ||
done | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dd;[unknown];[dd] 1 | ||
dd;[unknown];read 1 | ||
dd;[unknown];read;system_call;__fdget_pos 1 | ||
dd;[unknown];read;system_call;sys_read;vfs_read;fsnotify 1 | ||
dd;[unknown];write;system_call;sys_write 1 | ||
dd;[unknown];write;system_call;sys_write;vfs_write;fsnotify;__srcu_read_unlock 2 | ||
dd;[unknown];write;system_call;sys_write;vfs_write;rw_verify_area 1 | ||
dd;write;system_call;sys_write;__fdget_pos;__fdget;__fget_light 1 | ||
dd;write;system_call;sys_write;vfs_write;fsnotify;__srcu_read_unlock 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
dd;??;;;;; 2 | ||
dd;[unknown];?? 2 | ||
dd;[unknown];??;; 2 | ||
dd;[unknown];??;;;; 2 | ||
dd;[unknown];??;;;;; 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dd;[unknown];[dd] 1 | ||
dd;[unknown];read 1 | ||
dd;[unknown];read;system_call_[k];__fdget_pos_[k] 1 | ||
dd;[unknown];read;system_call_[k];sys_read_[k];vfs_read_[k];fsnotify_[k] 1 | ||
dd;[unknown];write;system_call_[k];sys_write_[k] 1 | ||
dd;[unknown];write;system_call_[k];sys_write_[k];vfs_write_[k];fsnotify_[k];__srcu_read_unlock_[k] 2 | ||
dd;[unknown];write;system_call_[k];sys_write_[k];vfs_write_[k];rw_verify_area_[k] 1 | ||
dd;write;system_call_[k];sys_write_[k];__fdget_pos_[k];__fdget_[k];__fget_light_[k] 1 | ||
dd;write;system_call_[k];sys_write_[k];vfs_write_[k];fsnotify_[k];__srcu_read_unlock_[k] 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dd-?;[unknown];[dd] 1 | ||
dd-?;[unknown];read 1 | ||
dd-?;[unknown];read;system_call;__fdget_pos 1 | ||
dd-?;[unknown];read;system_call;sys_read;vfs_read;fsnotify 1 | ||
dd-?;[unknown];write;system_call;sys_write 1 | ||
dd-?;[unknown];write;system_call;sys_write;vfs_write;fsnotify;__srcu_read_unlock 2 | ||
dd-?;[unknown];write;system_call;sys_write;vfs_write;rw_verify_area 1 | ||
dd-?;write;system_call;sys_write;__fdget_pos;__fdget;__fget_light 1 | ||
dd-?;write;system_call;sys_write;vfs_write;fsnotify;__srcu_read_unlock 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dd-?/29776;[unknown];[dd] 1 | ||
dd-?/29776;[unknown];read 1 | ||
dd-?/29776;[unknown];read;system_call;__fdget_pos 1 | ||
dd-?/29776;[unknown];read;system_call;sys_read;vfs_read;fsnotify 1 | ||
dd-?/29776;[unknown];write;system_call;sys_write 1 | ||
dd-?/29776;[unknown];write;system_call;sys_write;vfs_write;fsnotify;__srcu_read_unlock 2 | ||
dd-?/29776;[unknown];write;system_call;sys_write;vfs_write;rw_verify_area 1 | ||
dd-?/29776;write;system_call;sys_write;__fdget_pos;__fdget;__fget_light 1 | ||
dd-?/29776;write;system_call;sys_write;vfs_write;fsnotify;__srcu_read_unlock 1 |
106 changes: 106 additions & 0 deletions
106
test/results/perf-iperf-stacks-pidtid-01.txt-collapsed-context.txt
Large diffs are not rendered by default.
Oops, something went wrong.
58 changes: 58 additions & 0 deletions
58
test/results/perf-iperf-stacks-pidtid-01.txt-collapsed-inline.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
iperf; 2 | ||
iperf;; 3 | ||
iperf;;; 1 | ||
iperf;;;;;;;; 2 | ||
iperf;;;;;;;;; 2 | ||
iperf;;;;;;;;;;;; 13 | ||
iperf;;;;;;;;;;;;; 6 | ||
iperf;;;;;;;;;;;;;;;;;; 1 | ||
iperf;;;;;;;;;;;;;;;;;;;; 1 | ||
iperf;;;;;;;;;;;;;;;;;;;;; 1 | ||
iperf;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1 | ||
iperf;[unknown]; 1 | ||
iperf;[unknown];;; 1 | ||
iperf;[unknown];;;;;;;; 3 | ||
iperf;[unknown];;;;;;;;; 3 | ||
iperf;[unknown];;;;;;;;;; 27 | ||
iperf;[unknown];;;;;;;;;;; 2 | ||
iperf;[unknown];;;;;;;;;;;; 4 | ||
iperf;[unknown];;;;;;;;;;;;; 5 | ||
iperf;[unknown];;;;;;;;;;;;;; 3 | ||
iperf;[unknown];;;;;;;;;;;;;;; 22 | ||
iperf;[unknown];;;;;;;;;;;;;;;;; 4 | ||
iperf;[unknown];;;;;;;;;;;;;;;;;;; 2 | ||
iperf;[unknown];;;;;;;;;;;;;;;;;;;; 2 | ||
iperf;[unknown];;;;;;;;;;;;;;;;;;;;;; 3 | ||
iperf;[unknown];;;;;;;;;;;;;;;;;;;;;;; 4 | ||
iperf;[unknown];;;;;;;;;;;;;;;;;;;;;;;; 1 | ||
iperf;[unknown];;;;;;;;;;;;;;;;;;;;;;;;; 1 | ||
iperf;[unknown];;;;;;;;;;;;;;;;;;;;;;;;;;; 2 | ||
iperf;[unknown];;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1 | ||
iperf;[unknown];;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3 | ||
iperf;[unknown];;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1 | ||
iperf;[unknown];;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 2 | ||
iperf;[unknown];;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 8 | ||
iperf;[unknown];;__vdso_gettimeofday 1 | ||
iperf;[unknown];[unknown];;;; 1 | ||
iperf;[unknown];[unknown];;;;; 1 | ||
iperf;[unknown];[unknown];;;;;; 3 | ||
iperf;[unknown];[unknown];;;;;;; 1 | ||
iperf;[unknown];[unknown];;;;;;;; 1 | ||
iperf;[unknown];[unknown];;;;;;;;; 2 | ||
iperf;[unknown];[unknown];;;;;;;;;; 5 | ||
iperf;[unknown];[unknown];;;;;;;;;;; 4 | ||
iperf;[unknown];[unknown];;;;;;;;;;;; 9 | ||
iperf;[unknown];[unknown];;;;;;;;;;;;; 15 | ||
iperf;[unknown];[unknown];;;;;;;;;;;;;;; 2 | ||
iperf;[unknown];[unknown];;;;;;;;;;;;;;;;; 1 | ||
iperf;[unknown];[unknown];;;;;;;;;;;;;;;;;;;;; 1 | ||
iperf;[unknown];[unknown];;;;;;;;;;;;;;;;;;;;;; 1 | ||
iperf;[unknown];[unknown];;;;;;;;;;;;;;;;;;;;;;; 3 | ||
iperf;[unknown];[unknown];;;;;;;;;;;;;;;;;;;;;;;; 2 | ||
iperf;[unknown];[unknown];;;;;;;;;;;;;;;;;;;;;;;;;;;; 3 | ||
iperf;[unknown];[unknown];;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1 | ||
iperf;[unknown];[unknown];;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1 | ||
iperf;[unknown];[unknown];;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1 | ||
multilog;;;;;;; 1 | ||
run;;;;;;;;;;;;;;; 1 | ||
run;[unknown];;;;;;;; 1 |
Oops, something went wrong.