From: John L. <mov...@us...> - 2003-09-15 23:47:43
|
Update of /cvsroot/oprofile/oprofile/utils In directory sc8-pr-cvs1:/tmp/cvs-serv6579/utils Modified Files: opcontrol Log Message: daemon/ fix, some cleanups, rlimit Index: opcontrol =================================================================== RCS file: /cvsroot/oprofile/oprofile/utils/opcontrol,v retrieving revision 1.77 retrieving revision 1.78 diff -u -p -d -r1.77 -r1.78 --- opcontrol 4 Sep 2003 13:36:21 -0000 1.77 +++ opcontrol 15 Sep 2003 23:45:38 -0000 1.78 @@ -911,8 +911,12 @@ do_start_daemon() { OPD_ARGS=" \ --separate-lib-samples=$SEPARATE_LIB_SAMPLES \ - --separate-kernel-samples=$SEPARATE_KERNEL_SAMPLES \ - --pid-filter=$PID_FILTER --pgrp-filter=$PGRP_FILTER" + --separate-kernel-samples=$SEPARATE_KERNEL_SAMPLES" + + if [ "$KERNEL_SUPPORT" != "yes" ]; then + OPD_ARGS="$OPD_ARGS \ + --pid-filter=$PID_FILTER --pgrp-filter=$PGRP_FILTER" + fi if [ "$VMLINUX" = "none" ]; then OPD_ARGS="$OPD_ARGS --no-vmlinux" |