Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 2015 13:17:04 -0400
From:      Ryan Stone <rysto32@gmail.com>
To:        Sai Prajeeth <csprajeeth@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: pmcstat profiles OS code?
Message-ID:  <CAFMmRNzKz6=pEBUMV_LYC7p_Q7=z2ArBxF-QCQJBEwh30wpAzA@mail.gmail.com>
In-Reply-To: <CAFJamtOifqr_ZEVhFq6iK3bL%2BMLGLW1H9jGJZ24TFe0he6D0jQ@mail.gmail.com>
References:  <CAFJamtOifqr_ZEVhFq6iK3bL%2BMLGLW1H9jGJZ24TFe0he6D0jQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
pmcstat -S will collect data for threads running in the kernel, both for
kernel threads like interrupt threads as well as user threads running in
kernel context (e.g performing a system call)
On Jun 12, 2015 7:19 AM, "Sai Prajeeth" <csprajeeth@gmail.com> wrote:

> Hi,
>
> I would like to count hardware events such as instructions retired /
> unhalted-core-cycles for all the systems for BOTH OS and APPLICATION. I am
> aware that pmcstat has a system wide monitoring mode that counts events
> across all the CPUs for all processes. I want to know whether the
> statistics for kernel code are collected as well ? (which I dont think so).
>
> Thanks!
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNzKz6=pEBUMV_LYC7p_Q7=z2ArBxF-QCQJBEwh30wpAzA>