Lines Matching refs:config
115 local config=$1
118 line=`perf daemon --config ${config} -x: | head -1`
126 perf daemon stop --config ${config}
134 local config=$1
137 perf daemon start --config ${config}
146 state=`perf daemon ping --config ${config} --session ${session} | awk '{ print $1 }'`
151 daemon_exit ${config}
161 local config
162 config=$(mktemp /tmp/perf.daemon.config.XXX)
166 cat <<EOF > ${config}
177 sed -i -e "s|BASE|${base}|" ${config}
180 daemon_start ${config} size
185 line=`perf daemon --config ${config} -x: | head -1`
191 line=`perf daemon --config ${config} -x: | head -2 | tail -1`
199 line=`perf daemon --config ${config} -x: | head -3 | tail -1`
205 daemon_exit ${config}
208 rm -f ${config}
215 local config
216 config=$(mktemp /tmp/perf.daemon.config.XXX)
221 cat <<EOF > ${config}
232 sed -i -e "s|BASE|${base}|" ${config}
235 daemon_start ${config} size
240 line=`perf daemon --config ${config} -x: | head -3 | tail -1`
247 local config_new=${config}.new
262 cp ${config_new} ${config}
270 state=`perf daemon ping --config ${config} --session time | awk '{ print $1 }'`
276 line=`perf daemon --config ${config} -x: | head -3 | tail -1`
282 local config_empty=${config}.empty
290 cp ${config_empty} ${config}
295 state=`perf daemon ping --config ${config} --session time | awk '{ print $1 }'`
300 state=`perf daemon ping --config ${config} --session size | awk '{ print $1 }'`
304 one=`perf daemon --config ${config} -x: | wc -l`
313 cp ${config_new} ${config}
318 state=`perf daemon ping --config ${config} --session size | awk '{ print $1 }'`
324 state=`perf daemon ping --config ${config} --session time | awk '{ print $1 }'`
328 daemon_exit ${config}
331 rm -f ${config}
340 local config
341 config=$(mktemp /tmp/perf.daemon.config.XXX)
346 cat <<EOF > ${config}
357 sed -i -e "s|BASE|${base}|" ${config}
360 daemon_start ${config} size
363 pid_size=`perf daemon --config ${config} -x: | head -2 | tail -1 |
366 pid_time=`perf daemon --config ${config} -x: | head -3 | tail -1 |
379 daemon_exit ${config}
391 rm -f ${config}
398 local config
399 config=$(mktemp /tmp/perf.daemon.config.XXX)
404 cat <<EOF > ${config}
412 sed -i -e "s|BASE|${base}|" ${config}
415 daemon_start ${config} test
418 perf daemon signal --config ${config} --session test
419 perf daemon signal --config ${config}
422 daemon_exit ${config}
432 rm -f ${config}
439 local config
440 config=$(mktemp /tmp/perf.daemon.config.XXX)
445 cat <<EOF > ${config}
456 sed -i -e "s|BASE|${base}|" ${config}
459 daemon_start ${config} size
461 size=`perf daemon ping --config ${config} --session size | awk '{ print $1 }'`
462 type=`perf daemon ping --config ${config} --session time | awk '{ print $1 }'`
470 daemon_exit ${config}
473 rm -f ${config}
480 local config
481 config=$(mktemp /tmp/perf.daemon.config.XXX)
486 cat <<EOF > ${config}
494 sed -i -e "s|BASE|${base}|" ${config}
497 daemon_start ${config} size
500 failed=`perf daemon start --config ${config} 2>&1 | awk '{ print $1 }'`
509 daemon_exit ${config}
512 rm -f ${config}