Hi Stephane,

I've tried out this kernel patch and ran into a minor error.  There's a
config option under Hardware Performance Monitoring support called "Enable
perfmon statistics reporting via debugfs"

If I turn this on, I get a link-time error, because of the following lines
in perfmon/perfmon_priv.h

#ifdef CONFIG_PERFMON_DEBUG_FS
int prfm_init_debugfs(void);
#else
static inline int pfm_init_debugfs(void)
{
      return 0;
}
#endif

Should the config option be removed so that it can't be enabled (for now) ?

- Corey

Corey Ashford
Software Engineer
IBM Linux Technology Center, Linux Toolchain
Beaverton, OR
503-578-3507
[EMAIL PROTECTED]

[EMAIL PROTECTED] wrote on 06/17/2008 10:34:33
AM:

> Hello,
>
> A week after releasing the minimal patch series to LKML, I have
> uploaded a new version on
> the perfmon website. This new series is for 2.6.26-rc6 and
> incorporates most of the comments
> I have received so far.
>
> The major changes include:
>
>    - 2.6.26-rc6 update
>
>    - highly simplified code for the /sys perfmon interface based on
> comments from Greg KH
>
>     - integrate certain (small) patches with actual patch they were
> supporting, e.g., perfmon-hooks merged with perfmon-base
>
>     - fixed a generic problem in perfmon-intel-arch whereby quiesce()
> would panic the kernel when touching fixed counters
>
>
> Just like last time, what you have in the series in more than what I
> post on LKML. In particular, you have support for
> Intel P6 and Netburst processors. You also have syswide support and
> the perfmon statistics under debugfs.
>
> Please test thoroughly in your setups. Report any problems.
>
>
> Package is available at:
>
>      http://perfmon2.sf.net
>
> Thanks.
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> perfmon2-devel mailing list
> perfmon2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/perfmon2-devel
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to