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
427 perf daemon signal --config ${config} --session test
430 perf daemon signal --config ${config}
433 daemon_exit ${config}
446 rm -f ${config}
453 local config
454 config=$(mktemp /tmp/perf.daemon.config.XXX)
459 cat <<EOF > ${config}
470 sed -i -e "s|BASE|${base}|" ${config}
473 daemon_start ${config} size
475 size=`perf daemon ping --config ${config} --session size | awk '{ print $1 }'`
476 type=`perf daemon ping --config ${config} --session time | awk '{ print $1 }'`
484 daemon_exit ${config}
487 rm -f ${config}
494 local config
495 config=$(mktemp /tmp/perf.daemon.config.XXX)
500 cat <<EOF > ${config}
508 sed -i -e "s|BASE|${base}|" ${config}
511 daemon_start ${config} size
514 failed=`perf daemon start --config ${config} 2>&1 | awk '{ print $1 }'`
523 daemon_exit ${config}
526 rm -f ${config}