Messages in this thread | | | Subject | Re: [PATCH -tip v3 2/5] perf: change perf_event_header.misc to PERF_RECORD_MISC_USER for BTS | From | Peter Zijlstra <> | Date | Mon, 22 Aug 2011 11:02:51 +0200 |
| |
On Wed, 2011-08-17 at 11:19 +0900, Akihiro Nagai wrote: > > So what's wrong with something like: > > > > header.misc |= is_kernel_address(at->from) ? > > PERF_RECORD_MISC_KERNEL : > > PERF_RECORD_MISC_USER; > > > It looks good. > However, current perf doesn't output "kernel to kernel" BTS records. > So, it is unnecessary yet. > Ah, right, I thought we cured that at some point, ok all clear now.
| |