update perf events to trigger at more appropriate times (bug 1024014)