Home | History | Annotate | Download | only in utils

Lines Matching refs:EVENT

136    -l/--list-events list event types and unit masks
153 -e/--event=eventspec
155 Choose an event. May be specified multiple times. Of the form
158 name: event name, e.g. CPU_CLK_UNHALTED or RTC_INTERRUPTS
358 DEFAULT_EVENT=`$OPHELP --get-default-event`
632 EVENT=`echo $GOTEVENT | awk -F: '{print $1}'`
633 EVENT_VAL=`$OPHELP $EVENT`
642 TMPEVENT="$EVENT:$COUNT"
655 set_event $f "$EVENT:$COUNT:$UNIT_MASK:$KERNEL:$USER"
806 -e|--event)
1177 # MMCRs for the given event are returned along with the event.
1188 # Save first event mmcr settings to compare with additional
1190 # the same group. Only one event is assigned per counter,
1202 echo " Use 'opcontrol --list-events' to see event groupings."
1214 echo "ERROR: All kernel/user event flags must match."
1221 # PPU event and cycle events can be measured at
1222 # the same time. SPU event can not be measured
1223 # at the same time as any other event. Similarly for
1229 # 1 - PPU CYCLES or PPU Event seen
1231 # 3 - SPU EVENT seen
1233 # check if event is PPU_CYCLES
1238 echo "PPU CYCLES not compatible with previously specified event"
1242 # check if event is SPU_CYCLES
1247 echo "SPU CYCLES not compatible with any other event"
1251 # check if event is SPU Event profiling
1256 echo "SPU event profiling not compatible with any other event"
1260 # Check to see that the kernel supports SPU event
1262 # the LSB bit set to 1 indicating SPU event profiling
1266 echo "Kernel does not support SPU event profiling"
1270 # check if event is PPU Event profiling (all other
1276 echo "PPU profiling not compatible with previously specified event"
1289 echo " Use 'opcontrol --list-events' to see event groupings." >&2
1350 echo "Using default event: $DEFAULT_EVENT"
1357 set_ctr_param $f event 0
1378 EVENT=`echo $GOTEVENT | awk -F: '{print $1}'`
1379 EVENT_STR=`$OPHELP $EVENT`
1388 if test "$EVENT" = "SPU_CYCLES"; then
1422 if test "$EVENT" = "RTC_INTERRUPTS"; then
1427 set_ctr_param $CTR event $EVENT_VAL
1430 #Skip first argument of EVENT_STR (event val) since we've already
1444 OPROFILED_EVENTS=${OPROFILED_EVENTS}$EVENT:$EVENT_VAL:
1454 # This statement uses the last event's user/kernel flags to set
1562 echo "Event $f: $GOTEVENT"
1972 if test `echo $EVENT | \
1976 IBS_FETCH_EVENTS="$EVENT"
1978 IBS_FETCH_EVENTS="$IBS_FETCH_EVENTS,$EVENT"
1988 elif test `echo $EVENT | \
1992 IBS_OP_EVENTS="$EVENT"
1994 IBS_OP_EVENTS="$IBS_OP_EVENTS,$EVENT"