lkml.org 
[lkml]   [2012]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] Change IBS PMU to use perf_hw_context

* suravee.suthikulpanit@amd.com <suravee.suthikulpanit@amd.com> wrote:

> From: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
>
> Currently, the AMD IBS PMU initialize pmu.task_ctx_nr to
> perf_invalid_context which only allows IBS to be running only
> in system-wide mode (e.g. perf record -a). IBS hardware is
> available in each core and should be per-context. This patch
> modifies the task_ctx_nr to use the perf_hw_context (default)
> instead.

I'm wondering how extensively was it tested/verified that it's
safe to enable IBS in per context mode as well, and that the
profiling results are precise and accurate?

We never used the IBS hardware in this fashion before, so some
extra care is prudent - and traces of that extra care should be
visible in the changelog as well.

Thanks,

Ingo


\
 
 \ /
  Last update: 2012-12-16 10:21    [W:0.200 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site