lkml.org 
[lkml]   [2002]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] performance counters 3.1 for 2.5.45 [4/4]: kernel changes
From
Date
On Thu, 2002-10-31 at 15:10, Mikael Pettersson wrote:
> This is part 4 of 4 of perfctr-3.1 for the 2.5.45 kernel:
> kernel changes to integrate the low and high-level drivers.
>
> /Mikael
>
> CREDITS | 1 +
> MAINTAINERS | 6 ++++++
> arch/i386/Kconfig | 1 +
> arch/i386/kernel/entry.S | 11 +++++++++++
> arch/i386/kernel/i8259.c | 3 +++
> arch/i386/kernel/process.c | 9 +++++++++
> arch/i386/mach-generic/irq_vectors.h | 5 +++--
> drivers/Makefile | 1 +
> include/asm-i386/apic.h | 3 +++
> include/asm-i386/processor.h | 2 ++
> include/asm-i386/unistd.h | 1 +
> kernel/timer.c | 2 ++
> 12 files changed, 43 insertions(+), 2 deletions(-)

Rather than adding yet another system call, shouldn't this be done by
extending the cpu part of sysfs (or /proc)?

It looks like the operations in sys_vperfctr could be easily mapped to a
RAM based file system. As it stands it reminds me of one of the old DEC
graphic libraries with one API entry for all the operations, and 65
different flag values.



-
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: 2005-03-22 13:30    [W:0.055 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site