Re: [patch] x86, perf_counter, bts: add bts to perf_counter

From: Ingo Molnar
Date: Fri Aug 07 2009 - 07:20:04 EST



note, i had this running in the background, as root:

/home/mingo/bin/perf top >/dev/null 2>/dev/null&

that is what interacted most likely. I killed that task and did a
user-space only recording via:

titan:~> perf record -f -e branches:u -c 1 ./loop_1b_instructions

and that succeeded:

^C[ perf record: Captured and wrote 827.901 MB perf.data (~36171547 samples) ]

to make BTS sampling really practical we need a 'flight data
recorder' mode for the mmap buffer (overwrite mode), right? Peter
sent you a patch for that some time ago - did anything good happen
to that patch?

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/