Prev: sched: make runtime balancing code more EDF-friendly
Next: x86: Manage ENERGY_PERF_BIAS based on cpufreq governor
From: Peter Zijlstra on 3 Mar 2010 11:50 Sorta works, the PEBS-LBR-fixup stuff makes my machine unhappy, but I could have made a silly mistake there.. Can be tested using the below patchlet and something like: perf top -e r00c0p --- diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c index 05d0c5c..f8314e6 100644 --- a/tools/perf/util/parse-events.c +++ b/tools/perf/util/parse-events.c @@ -656,6 +656,11 @@ parse_raw_event(const char **strp, struct perf_event_attr *attr) return EVT_FAILED; n = hex2u64(str + 1, &config); if (n > 0) { + if (str[n+1] == 'p') { + attr->precise = 1; + printf("precise\n"); + n++; + } *strp = str + n + 1; attr->type = PERF_TYPE_RAW; attr->config = config; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |