Re: [PATCH -tip v3 2/5] perf: change perf_event_header.misc toPERF_RECORD_MISC_USER for BTS

From: Peter Zijlstra
Date: Mon Aug 22 2011 - 05:03:51 EST


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.
--
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/