lkml.org 
[lkml]   [2008]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 23/24] perfmon3: kernel documentation
Hi!

> + * int pfm_create(int flags, pfarg_sinfo_t *s);
> +
> + This function creates a perfmon per-thread session.
> + The flags parameter is currently unused and must be set to 0.
> +
> + Upon return and if s is not NULL, the kernel return the list
> of available

returns?

> + PMC and PMD registers. Tools should not assume, they have access to the
> + entire PMU, it may be shared with other kernel subsystems, e.g., on X86
> + the NMI watchdog timer.

How can kernel return anything?

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


\
 
 \ /
  Last update: 2008-10-19 15:41    [W:0.046 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site