RE: [Linux-ia64] [PATCH] Support for alternative kernel profiler in a module

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2002-01-10 08:37:34
It turns out that we don't really need to have init_tasks[] exported.

Here is a revised version of the patch with just the change to add
SA_PERCPU_IRQ to the flags accepted by request_irq()

-Tony

-----Original Message-----
From: Luck, Tony [mailto:tony.luck@intel.com]
Sent: Friday, January 04, 2002 5:04 PM
To: 'davidm@hpl.hp.com'
Cc: linux-ia64@linuxia64.org
Subject: [Linux-ia64] [PATCH] Support for alternative kernel profiler in
a module


To allow an alternative kernel profiler using the ia64
perfomance counters to be loaded as a module, a couple
of small changes are needed.

1) Define a new 'irqflags' bit (SA_PERCPU_IRQ) to allow a module
to request a per-cpu irq.

2) Export init_tasks[] so that the module can adjust the state
of psr.pp in the idle tasks for all CPUs.

I've attached the patch rather than inlining it in the hope that
outlook won't sabotage it by folding long lines or playing with
tabs and spaces.

-Tony Luck





Received on Wed Jan 09 13:37:47 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:06 EST