Kirsten,

On Tue, Mar 15, 2011 at 4:40 PM, Kristen Walcott-Justice
<kr...@cs.virginia.edu> wrote:
> Hi,
>
> I was looking at the code for perf_event_refresh in kernel/perf_event.c and
> saw that it refreshes the counter, but it does not reload the period or
> anything else that may have changed.  I know that this bug was noted in the
> past, but I never saw a fix for it.  Is there a simple solution?
>
I think the goal of IOC_REFRESH is not to reload the period but simply
to adjust the
number of events before the next notifications. IOC_PERIOD is the command to
update the period and that's the one that does not update the current
period but instead
defers until next. I started looking into how to fix this.

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to