-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release/0.2.2: (61 commits) Fix hakabana path in workshop Bump patch version Use simpler error check Add support for 802.1q in pcap capture module Fix regex match Fix lua stack leak Update test results Fix test issue on release Add function to share logging code Update test results Fix test update script Fix state machine Lua ref issue Fix Lua weak ref Fix compilation on 32 bit system Improve memory info Update test results Add debug log for connection release Remove state machine finish on destroy Fix lua ref for negative index Add weak lua ref ...
- Loading branch information
Showing
159 changed files
with
1,018 additions
and
380 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
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ Dependencies | |
* rsync | ||
* libpcap | ||
* gawk | ||
* libeditline | ||
* libedit | ||
* libpcre | ||
|
||
### Optional | ||
|
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
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 |
---|---|---|
|
@@ -28,6 +28,10 @@ $0 ~ /^[ ]+\[Response time: .*\]$/ { | |
next; | ||
} | ||
|
||
$0 ~ /.*\[iRTT: / { | ||
next; | ||
} | ||
|
||
{ | ||
print; | ||
} | ||
|
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
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
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
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,11 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
find_path(INIPARSER_INCLUDE_DIR iniparser.h) | ||
find_library(INIPARSER_LIBRARY iniparser) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
|
||
find_package_handle_standard_args(Iniparser | ||
REQUIRED_VARS INIPARSER_LIBRARY INIPARSER_INCLUDE_DIR) |
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
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
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
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
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
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
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,11 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
include(FindPackageHandleStandardArgs) | ||
|
||
find_program(RSYNC_EXECUTABLE NAMES rsync | ||
DOC "Rsync file-copying tool" | ||
) | ||
|
||
find_package_handle_standard_args(Rsync REQUIRED_VARS RSYNC_EXECUTABLE) |
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
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
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
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
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
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,37 @@ | ||
#!/bin/bash | ||
|
||
cat > /tmp/gnuplot.script <<EOF | ||
set term png small size 1200,800 | ||
set output "/tmp/mem-graph.png" | ||
set ylabel "KB" | ||
set ytics nomirror | ||
set yrange [0:*] | ||
set y2label "KB" | ||
set y2tics nomirror in | ||
set y2range [0:*] | ||
plot "/tmp/mem.log" using 3 with lines axes x1y2 title "LUA", \ | ||
"/tmp/mem.log" using 1 with lines axes x1y1 title "VMSize", \ | ||
"/tmp/mem.log" using 2 with lines axes x1y1 title "RSSSize" | ||
EOF | ||
|
||
echo "0 0 0" > /tmp/mem.log | ||
echo > /tmp/out.log | ||
|
||
$* > /tmp/out.log & | ||
|
||
gnuplot /tmp/gnuplot.script | ||
eog /tmp/mem-graph.png & | ||
|
||
while true; do | ||
echo "0 0 0" > /tmp/mem.log | ||
sed -n -e 's/^.*memory report:.*vmsize=\(.*\) rsssize=\(.*\) luasize=\(.*\)/\1 \2 \3/p' /tmp/out.log >> /tmp/mem.log | ||
gnuplot /tmp/gnuplot.script | ||
|
||
pidof $1 > /dev/null | ||
if [ $? != 0 ]; then | ||
break | ||
fi | ||
|
||
sleep 2 | ||
done |
Oops, something went wrong.