Home | History | Annotate | Download | only in utils

Lines Matching full:then

22 	if test "$1" != "-w"; then
34 if test ! -f /proc/sys/$dev_name; then
45 if test -z "$2"; then
57 if [[ "$1" =~ ^0[0-7]*$ ]] ; then
59 elif [[ "$1" =~ ^0x[0-9a-fA-F]+$ ]] ; then
61 elif [[ "$1" =~ ^[1-9][0-9]*$ ]] ; then
72 if test "$?" -eq 0 ; then
81 if test -c "$1"; then
93 if test "$?" != "0"; then
103 if test -e $1; then
113 if test -n "$VERBOSE"; then
121 if which $1 &>/dev/null; then
122 if test -x `which $1`; then
209 if test "$?" -ne 0; then
211 if test "$?" != "0"; then
216 if test "$?" != "0"; then
221 if test "$?" -ne 0; then
228 if test "$?" -ne 0; then
239 if test "$?" -ne 0; then
241 if test "$?" != "0"; then
246 if test "$?" != "0"; then
260 if test "$OPROFILE_AVAILABLE" != "yes"; then
263 if test "$OPROFILE_AVAILABLE" != "yes"; then
276 if test -n "$SESSION_DIR"; then
280 if test -n "$SAVED"; then
286 if test -z "$SESSION_DIR"; then
299 if test "$KERNEL_SUPPORT" = "yes"; then
310 if test "$KERNEL_SUPPORT" = "yes"; then
362 if test "$CPUTYPE" = "timer"; then
376 if test ! -d "$1"; then
378 if test "$?" != "0"; then
408 if test "$NR_CHOSEN" != "0"; then
424 if test "$BUF_SIZE" != "0"; then
427 if test "$BUF_WATERSHED" != "0"; then
430 if test "$KERNEL_SUPPORT" = "yes"; then
433 if test "$KERNEL_SUPPORT" != "yes"; then
437 if test "$KERNEL_RANGE"; then
441 if test "$XEN_RANGE"; then
450 if test -f "$SETUP_FILE"; then
461 if test -z "$VMLINUX"; then
470 if test -f "$VMLINUX"; then
474 if test "$VMLINUX" = "none"; then
482 if test -f "$XENIMAGE"; then
486 if test "$XENIMAGE" = "none"; then
499 if test "$1" = "xen"; then
500 if test ! -z "$XEN_RANGE"; then
505 if test ! -z "$KERNEL_RANGE"; then
511 if test "$FILE_IMAGE" = "none"; then
515 if is_tool_available objdump; then
525 if test -z "$tmp1" -o -z "$tmp2"; then
532 if test "$1" = "xen"; then
592 if test "$IS_TIMER" = 1; then
593 if test "$NR_CHOSEN" != 0; then
603 if test "$NR_CHOSEN" != 0; then
606 if test "$GOTEVENT" != ""; then
612 if test ! -z "$OPHELP_ARGS" ; then
614 if test "$?" != 0; then
625 if test "$NR_CHOSEN" -le 0 || test "$IS_TIMER" = 1; then
631 if test "$GOTEVENT" != ""; then
634 if test "$?" != 0; then
641 if test -z "$UNIT_MASK"; then
644 if test "$?" != 0; then
648 if test -z "$KERNEL"; then
651 if test -z "$USER"; then
676 if test -z "$val"; then
679 if test "$?" != "0"; then
681 if [ "$#" -ge 1 ]; then
703 if test "$KERNEL_SUPPORT" != "yes"; then
726 if test "$KERNEL_SUPPORT" != "yes"; then
787 if test "$KERNEL_SUPPORT" != "yes"; then
797 if test "$KERNEL_SUPPORT" != "yes"; then
809 if test "$SEEN_EVENT" = "0"; then
813 if test "$val" = "default"; then
829 if test ! -f $MOUNT/backtrace_depth; then
863 if test "$KERNEL_SUPPORT" = "yes"; then
873 if test "$val" = "all"; then
882 if test -z "$val"; then
906 if test "$EXCLUSIVE_ARGC" -gt 1; then
911 if test "$SETUP" = "yes" -a "$DO_SETUP" != "yes"; then
916 if test -n "$VERBOSE"; then
917 if test "$START" != "yes" -a "$START_DAEMON" != "yes"; then
923 if test "$DO_SETUP" = "yes"; then
927 if test "$EXCLUSIVE_ARGC" -eq 1 -a "$SETUP" = "yes"; then
928 if test "$EXCLUSIVE_ARGV" != "--start-daemon" -a "$EXCLUSIVE_ARGV" != "--start"; then
940 if test "$BUF_SIZE" != "0"; then
945 if test "$BUF_WATERSHED" != "0"; then
950 if test "$KERNEL_SUPPORT" = "yes"; then
951 if test "$CPU_BUF_SIZE" != "0"; then
973 if test ! -f "$LOCK_FILE"; then
979 if test "$?" -ne 0; then
986 && test 0 != $(cat /dev/oprofile/enable); then
997 if test ! -f "$LOCK_FILE"; then
1004 if test "$?" -ne 0; then
1012 if test $KERNEL_SUPPORT = "yes"; then
1030 if test $KERNEL_SUPPORT = "yes"; then
1040 -o "$IBS_OP_COUNT" != "0" ; then
1045 if test "$COUNT" -eq "$DELAY_KILL"; then
1087 if test -d /proc/$pid; then
1100 if test "$KERNEL_SUPPORT" != "yes"; then
1114 if test "$KERNEL_SUPPORT" = "yes"; then
1126 if test "$IS_PERFMON" = "yes"; then
1130 if test "$KERNEL_SUPPORT" = "yes"; then
1131 if test -e $MOUNT/$1; then
1135 if test -e /proc/sys/kernel/nmi_watchdog; then
1154 if test "$1" = "$tmp"; then
1175 if test $? -ne 0 ; then
1192 if [ "$MMCR0_CK_VAL" = "" ] ; then
1200 -o $MMCRA_CK_VAL != $MMCRA_VAL ; then
1208 if [ "$USER_CK" = "" ] ; then
1213 -o $KERNEL_CK != $KERNEL ; then
1219 if [ "$CPUTYPE" = "ppc64/cell-be" ]; then
1234 if [ "$event_num" = "1" ]; then
1235 if [ "$EVNT_MSK" = "1" ] || [ "$EVNT_MSK" = "" ]; then
1243 elif [ "$event_num" = "2" ]; then
1244 if [ "$EVNT_MSK" = "" ]; then
1252 elif [ "$event_num" -ge "4100" ] && [ "$event_num" -le "4163" ] ; then
1253 if [ "$EVNT_MSK" = "" ]; then
1265 if test ! -f /dev/oprofile/cell_support; then
1273 if [ "$EVNT_MSK" = "1" ] || [ "$EVNT_MSK" = "" ]; then
1284 if [ "$GRP_NUM_CK_VAL" = "" ] ; then
1287 if test $GRP_NUM_CK_VAL != $GRP_NUM_VAL ; then
1299 if test $BUF_SIZE != 0; then
1300 if test "$KERNEL_SUPPORT" = "yes"; then
1307 if test $BUF_WATERSHED != 0; then
1308 if test "$KERNEL_SUPPORT" = "yes"; then
1315 if test $CPU_BUF_SIZE != 0; then
1316 if test "$KERNEL_SUPPORT" = "yes"; then
1323 if test -n "$ACTIVE_DOMAINS"; then
1324 if test "$KERNEL_SUPPORT" = "yes"; then
1331 if test $NOTE_SIZE != 0; then
1335 if test "$KERNEL_SUPPORT" = "yes" -a -f $MOUNT/backtrace_depth; then
1337 elif test "$CALLGRAPH" != "0"; then
1341 if test "$IS_TIMER" = 1; then
1346 if test "$NR_CHOSEN" = 0; then
1354 # opcontrol ctr0-on ctr1-on then opcontrol ctr0-on
1362 if test -d $MOUNT/ibs_fetch; then
1367 if test -d $MOUNT/ibs_op ; then
1377 if test "$GOTEVENT" != ""; then
1388 if test "$EVENT" = "SPU_CYCLES"; then
1389 if test "$SEPARATE_KERNEL" = "1"; then
1393 if test "$SEPARATE_LIB" = "0"; then
1409 if test "$SEPARATE_CPU" = "0"; then
1416 if [ "$CTR" = "ibs_fetch" -o "$CTR" = "ibs_op" ] ; then
1422 if test "$EVENT" = "RTC_INTERRUPTS"; then
1432 if test "$loop_count" -gt 1; then
1457 if test $? -ne 0 ; then
1468 if test -f "$LOCK_FILE"; then
1470 if test "$?" -eq 0; then
1491 if test "$IS_TIMER" = 1; then
1494 if ! test -z "$OPROFILED_EVENTS"; then
1499 if test "$VMLINUX" = "none"; then
1505 if ! test "$XENIMAGE" = "none"; then
1509 if ! test -z "$IMAGE_FILTER"; then
1513 if test -n "$VERBOSE"; then
1528 if test "$COUNT" -eq 10; then
1541 if test "$KERNEL_SUPPORT" = "yes"; then
1553 if test -n "$OPROFILED_PID" -a -d "/proc/$OPROFILED_PID"; then
1559 if test "$NR_CHOSEN" != "0"; then
1567 if test "$SEPARATE_LIB" = "1"; then
1570 if test "$SEPARATE_KERNEL" = "1"; then
1573 if test "$SEPARATE_THREAD" = "1"; then
1576 if test "$SEPARATE_CPU" = "1"; then
1580 if test -z "$SEPARATE"; then
1587 if test -z "$IMAGE_FILTER"; then
1594 if test "$BUF_SIZE" != "0"; then
1597 if test "$KERNEL_SUPPORT" != "yes"; then
1598 if test "$NOTE_SIZE" != "0"; then
1602 if test "$BUF_WATERSHED" != "0"; then
1605 if test "$CPU_BUF_SIZE" != "0"; then
1621 if test -e "$SESSION_DIR/lock"; then
1623 if test ! -d "/proc/$OPROFILED_PID"; then
1631 if test "$KERNEL_SUPPORT" = "yes"; then
1632 if ! test -w $MOUNT/dump; then
1633 if test `id -u` != "0"; then
1646 if test ! -d "/proc/$OPROFILED_PID"; then
1669 if test $? -ne 0 -a "$ONLY_DUMP" = "yes"; then
1679 if test -f "$LOCK_FILE"; then
1692 if test -e "$SAVE_DIR"; then
1697 if ! test -e $CURRENT_SAMPLES_DIR; then
1705 if test "$?" != "0"; then
1717 if test -z "$SAMPLES_DIR"; then
1738 if test -n "$OPROF_FS"; then
1743 if test -n "$OPROF_MOD"; then
1756 if test "$STATUS" = "yes"; then
1760 if test "$SETUP" = "yes"; then
1765 if test "$START_DAEMON" = "yes"; then
1769 if test "$START" = "yes"; then
1774 if test "$DUMP" = "yes"; then
1778 if test "$SAVE_SESSION" = "yes"; then
1782 if test "$STOP" = "yes"; then
1786 if test "$KILL_DAEMON" = "yes"; then
1790 if test "$RESET" = "yes"; then
1794 if test "$DEINIT" = "yes"; then
1837 if test "$?" -eq 0; then
1845 if test "$?" -eq 0; then
1855 if test "$OPROFILE_AVAILABLE" != "yes"; then
1869 if test -z "$2" -a "$1" = "--reset"; then
1871 if test "$OPROFILE_AVAILABLE" != "yes"; then
1889 if test "$?" != "0" ; then
1893 if [ "$IBS_TYPE" = "ibs_fetch " ] ; then
1895 if test "$IBS_FETCH_COUNT" = "0" ; then
1898 elif test "$IBS_FETCH_COUNT" != "$IBS_COUNT" ; then
1904 if test "$IBS_FETCH_MASK" != "$IBS_MASK" ; then
1910 if test "$IBS_FETCH_COUNT" -gt 1048575 ; then
1916 elif [ "$IBS_TYPE" = "ibs_op " ] ; then
1918 if test "$IBS_OP_COUNT" = "0" ; then
1921 elif test "$IBS_OP_COUNT" != "$IBS_COUNT" ; then
1927 if test "$IBS_OP_MASK" != "$IBS_MASK" ; then
1935 if test "$IBS_OP_COUNT" -gt 1048575 ; then
1945 if test "$IBS_OP_COUNT" -gt 134217727 ; then
1961 if test "$KERNEL_SUPPORT" != "yes" ; then
1967 if test ! -d $MOUNT/ibs_fetch -o ! -d $MOUNT/ibs_op ; then
1973 awk '{ print substr($0, 1, 10)}'` = "IBS_FETCH_" ; then
1974 if test "$COUNT" != "0"; then
1975 if [ "$IBS_FETCH_EVENTS" = "" ] ; then
1989 awk '{ print substr($0, 1, 7)}'` = "IBS_OP_" ; then
1990 if test "$COUNT" != "0"; then
1991 if [ "$IBS_OP_EVENTS" = "" ] ; then
2007 if test -f $MOUNT/ibs_op/dispatched_ops ; then
2010 if test $IBS_OP_DISPATCHED_OP -eq 1 ; then
2018 if test -f $MOUNT/ibs_op/branch_target; then
2019 if [ "$IBS_OP_BTA" = "4" ] ; then
2027 if test $IBS_OP_BTA -eq 1 ; then
2041 if test "$IBS_FETCH_COUNT" != "0" -o "$IBS_OP_COUNT" != "0" ; then
2043 if test "$IBS_FETCH_COUNT" != "0"; then
2047 if test "$IBS_OP_COUNT" != "0"; then
2060 if test -z "$OPDIR"; then
2070 if test -z "$1"; then
2075 if test `id -u` = "0"; then
2087 if test `id -u` != "0"; then
2088 if test -z "$2"; then