Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay.Estabrook@digital.com
To: axp-list@redhat.com
Subject: Re: process time accounting
Date: Tue, 19 Oct 1999 13:24:38 -0400	[thread overview]
Message-ID: <199910191724.NAA01247@linux04.mro.dec.com> (raw)
In-Reply-To: Your message of Tue, 19 Oct 1999 17:11:25 +0100. <Pine.GSO.4.05.9910191711030.9129-100000@nn-pascal>


>>> Lars Hjorth said:
> 
> I have noticed a problem where the statistics about cpu-usage for the
> processes are invalid on my Compaq DS20 machine with Linux 2.2.9 SMP. The
> statistics will only take time used on the first processor but not on the
> second. Am I the only one to experience this?

No, which is why its fixed in later sources... ;-}

Patch it by changing the appropriate line in include/asm-alpha/ptrace.h to:

	#define user_mode(regs) (((regs)->ps & 8) != 0)

--Jay++

-----------------------------------------------------------------------------
Jay A Estabrook                            Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20         (508) 467-2080
200 Forest Street, Marlboro, MA  01752     Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------



  reply	other threads:[~1999-10-19 16:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-19 16:11 process time accounting Lars Hjorth
1999-10-19 17:24 ` Jay.Estabrook [this message]
1999-10-19 16:50   ` Lars Hjorth
1999-10-19 17:52 ` Jay.Estabrook
1999-10-19 18:03   ` xosview Todd Henderson
1999-10-19 19:04     ` xosview Jay.Estabrook
1999-10-20 10:35   ` process time accounting Lars Hjorth
1999-10-21 21:47     ` Jay.Estabrook
1999-10-22  8:21       ` Lars Hjorth
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox