Kevin,

Applied.
Thanks for your contributions

On Wed, May 02, 2007 at 02:46:19PM -0500, Kevin Corry wrote:
> On Mon April 23 2007 3:39 pm, Kevin Corry wrote:
> > Fix pfmsetup to work with system-wide contexts.
> > - The load_context command can now take a CPU number instead of a program
> >   number.
> > - Whever we are operating on a system-wide context we need to set
> > pfmsetup's affinity to the CPU where the context is loaded.
> >
> > Signed-off-by: Kevin Corry <[EMAIL PROTECTED]>
> 
> Found a tiny bug in this patch for pfmsetup. I got one of the messages
> reversed when trying to report to the user which program or cpu the
> context was loaded on. Here's a fix.
> 
> Thanks,
> -- 
> Kevin Corry
> [EMAIL PROTECTED]
> http://www.ibm.com/linux/
> 
> 
> Fix the message that tells the user which program or cpu the context was
> loaded on.
> 
> Signed-off-by: Kevin Corry <[EMAIL PROTECTED]>
> 
> --- libpfm.orig/examples/pfmsetup.c   27 Apr 2007 06:15:40 -0000
> +++ libpfm/examples/pfmsetup.c        2 May 2007 18:41:51 -0000
> @@ -679,7 +679,7 @@
>       }
>  
>       LOG_INFO("Loaded context %d, event-set %d onto %s %d.",
> -              ctx_id, event_set_id, system_wide ? "program" : "cpu",
> +              ctx_id, event_set_id, system_wide ? "cpu" : "program",
>                program_id);
>  
>       return 0;
> _______________________________________________
> perfmon mailing list
> [email protected]
> http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

-- 

-Stephane
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to