lkml.org 
[lkml]   [2006]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 3/6] 2.6.16-rc1 perfmon2 patch for review
From
Date
On Tue, 2006-01-24 at 07:09 -0800, Stephane Eranian wrote:

> Because I tried regrouping all the /proc AND related interface into a single
> C file.

sysctls seem to be every bit as deprecated as /proc for what you are
tring to do.

> Well, it is not clear to me what criteria is used for /sys vs /proc.

My understanding is that only process-related stuff belongs in /proc
now. Other random cruft that has accumulated over the years is left
there for backwards compatibility, but /sys interfaces are the way
forward now.

Some interfaces have already moved out of /proc in part or in whole, so
for example some ACPI functionality remains in /proc, while other bits
have moved to /sys/power.

The perfmon stuff may belong in a new hierarchy, for example
like /sys/class/pfm, or perhaps in /sys/devices/system/cpu. Someone
like Greg K-H can put you to rights there.

<b

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-01-25 21:10    [W:0.196 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site