3 # Copyright (C) 2010 David Goulet <david.goulet@polymtl.ca>
4 # Copyright (C) 2010 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 # This library is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU Lesser General Public
8 # License as published by the Free Software Foundation; either
9 # version 2.1 of the License, or (at your option) any later version.
11 # This library is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Lesser General Public License for more details.
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this library; if not, write to the Free Software
18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 REPORT
=/tmp
/testreport
26 echo "Userspace tracing scalability test report" |
tee >> $REPORT
28 for nr_threads
in 1 2 4 8; do
29 echo "" |
tee >> $REPORT
30 echo Number of threads
: $nr_threads |
tee >> $REPORT
31 echo "* Baseline" |
tee >> $REPORT
37 /usr
/bin
/time -o /tmp
/testlog .
/.libs
/tracepoint_benchmark
${nr_threads}
38 cat /tmp
/testlog
>> $REPORT
40 echo "* Flight recorder" |
tee >> $REPORT
42 #stap testutrace.stp -F
45 stap testutrace.stp
-o /tmp
/stapconsole-
$nr_threads &
49 /usr
/bin
/time -o /tmp
/testlog .
/.libs
/tracepoint_benchmark
${nr_threads}
50 cat /tmp
/testlog
>> $REPORT
This page took 0.032028 seconds and 4 git commands to generate.