-2007-07-25 Mike Mason <mmlnx@us.ibm.com>
+2007-08-02 Mike Mason <mmlnx@us.ibm.com>
+
+ * systemtap.samples/profile.stp: Changed limit check in
+ foreach loop.
+
+2007-08-01 Mike Mason <mmlnx@us.ibm.com>
* systemtap.samples/profile.stp: Changed pid to tid throughout.
Changed delete method in decumulate().
exit ()
}
probe end {
- foreach ([tid,syscall] in syscall_count-) {
+ foreach ([tid,syscall] in syscall_count- limit 30) {
printf("%s(%d) %s count=%d ttime=%d\n", command[tid], tid, syscall,
syscall_count[tid,syscall], syscall_times[tid,syscall])
-
- if (count++ > 30) next
}
}