On Mon, Jun 04, 2018 at 10:27:21AM -0700, Matthew Macy wrote:
> On Mon, Jun 4, 2018 at 5:08 AM, Konstantin Belousov
> wrote:
> > On Mon, Jun 04, 2018 at 01:10:23AM +, Matt Macy wrote:
> >> @@ -2214,6 +2236,11 @@ pmc_hook_handler(struct thread *td, int function,
> >> void
> >>
> >>
On Mon, Jun 4, 2018 at 5:08 AM, Konstantin Belousov wrote:
> On Mon, Jun 04, 2018 at 01:10:23AM +, Matt Macy wrote:
>> @@ -2214,6 +2236,11 @@ pmc_hook_handler(struct thread *td, int function, void
>>
>> pmc_capture_user_callchain(PCPU_GET(cpuid), PMC_HR,
>> (str
On Mon, Jun 04, 2018 at 03:08:15PM +0300, Konstantin Belousov wrote:
> On Mon, Jun 04, 2018 at 01:10:23AM +, Matt Macy wrote:
> > @@ -2214,6 +2236,11 @@ pmc_hook_handler(struct thread *td, int function,
> > void
> >
> > pmc_capture_user_callchain(PCPU_GET(cpuid), PMC_HR,
> >
On Mon, Jun 04, 2018 at 01:10:23AM +, Matt Macy wrote:
> @@ -2214,6 +2236,11 @@ pmc_hook_handler(struct thread *td, int function, void
>
> pmc_capture_user_callchain(PCPU_GET(cpuid), PMC_HR,
> (struct trapframe *) arg);
> +
> + KASSERT(td->td_pinned
Author: mmacy
Date: Mon Jun 4 01:10:23 2018
New Revision: 334595
URL: https://svnweb.freebsd.org/changeset/base/334595
Log:
hwpmc: support sampling both kernel and user stacks when interrupted in kernel
This adds the -U options to pmcstat which will attribute in-kernel samples
back to th