Re: OT: Does Linux have any "Perfect Code"

2007-11-15 Thread Philippe Elie
On Wed, 14 Nov 2007 at 20:21 +, Russell Leighton wrote: > > Bryan Cantrill of Sun (ala DTrace) has a notion of perfect code: > > http://blogs.sun.com/bmc/entry/on_i_dreaming_in_code > > He also has some examples (from bottom comment section of above): > > > > > > >Can you list a smal

Re: [perfmon] Re: [perfmon2] perfmon2 merge news

2007-11-14 Thread Philippe Elie
On Wed, 14 Nov 2007 at 10:44 +, Will Cohen wrote: > Andi Kleen wrote: > > >>One approach does not prevent the other. Assuming you allow cr4.pce, then > >>nothing prevents > >>a self-monitoring thread from reading the counters directly. You'll just > >>get the > >>lower 32-bit of it. So if y

Re: oops in oprofile/dump_trace/X86 with 2.6.24-rcX

2007-11-09 Thread Philippe Elie
On Thu, 08 Nov 2007 at 10:54 +, Andrew Morton wrote: > Philippe, on Sun, 21 Oct you sent a "[patch 1/2] oProfile: oops when > profile_pc() return ~0LU" which as far as I can tell never got applied. > > Also, I have no record of [patch 2/2] from that day. Can you please refresh > and resend b

[PATCH 1/1]: oProfile: oops when profile_pc() return ~0LU

2007-11-09 Thread Philippe Elie
From: Philippe Elie <[EMAIL PROTECTED]> Instruction pointer returned by profile_pc() can be a random value. This break the assumption than we can safely set struct op_sample.eip field to a magic value to signal to the per-cpu buffer reader side special event like task switch ending u

[PATCH] oProfile: support for AMD family10

2007-11-09 Thread Philippe Elie
o make Event Based Profiling work reliably on a Family10h processor Signed-off-by: Barry Kasindorf <[EMAIL PROTECTED]> Signed-off-by: Robert Richter <[EMAIL PROTECTED]> Signed-off-by: Philippe Elie <[EMAIL PROTECTED]> --- arch/x86/oprofile/op_model_athlon.c | 22 +++

Re: [RFC/PATCH] AVR32: Oprofile support

2007-11-08 Thread Philippe Elie
d faster) this way. Acked-by: Philippe Elie <[EMAIL PROTECTED]> -- Phe - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC/PATCH] AVR32: Oprofile support

2007-11-08 Thread Philippe Elie
On Wed, 07 Nov 2007 at 15:05 +, Haavard Skinnemoen wrote: > This adds the necessary architecture code to run oprofile on AVR32 > using the performance counters documented by the AVR32 Architecture > Manual. > > Signed-off-by: Haavard Skinnemoen <[EMAIL PROTECTED]> > --- /dev/null > +++ b/arc

Re: [RFC/PATCH] AVR32: Oprofile support

2007-11-07 Thread Philippe Elie
On Wed, 07 Nov 2007 at 15:05 +, Haavard Skinnemoen wrote: > This adds the necessary architecture code to run oprofile on AVR32 > using the performance counters documented by the AVR32 Architecture > Manual. Did you post the user space change to [EMAIL PROTECTED] ? -- regards, Phe - To unsu

Re: [patch 1/2] oProfile: oops when profile_pc() return ~0LU

2007-10-23 Thread Philippe Elie
On Tue, 23 Oct 2007 at 13:10 +, Sami Farin wrote: > On Mon, Oct 22, 2007 at 19:38:10 -0700, Linus Torvalds wrote: > > > > This set of two patches look ok by me, but I'd like sign-offs.. Also, were > > they tested and found to fix the problem by Sami? > > > > Linus For the signe

[patch 1/2] oProfile: oops when profile_pc() return ~0LU

2007-10-21 Thread Philippe Elie
From: Philippe Elie <[EMAIL PROTECTED]> Instruction pointer returned by profile_pc() can be a random value. This break the assumption than we can safely set struct op_sample.eip field to a magic value to signal to the per-cpu buffer reader side special event like task switch ending u

Re: WANTED: kernel projects for CS students

2007-10-15 Thread Philippe Elie
On Mon, 15 Oct 2007 at 18:31 +, Philippe Elie wrote: > On Mon, 15 Oct 2007 at 16:23 +, Sam Ravnborg wrote: > > > Hi Rik. > > > > On Sun, Oct 14, 2007 at 07:01:28PM -0400, Rik van Riel wrote: > > > The kernel newbies community often gets inquiries

Re: WANTED: kernel projects for CS students

2007-10-15 Thread Philippe Elie
On Mon, 15 Oct 2007 at 16:23 +, Sam Ravnborg wrote: > Hi Rik. > > On Sun, Oct 14, 2007 at 07:01:28PM -0400, Rik van Riel wrote: > > The kernel newbies community often gets inquiries from CS students who > > need a project for their studies and would like to do something with > > the Linux ker

Re: 2.6.22.6 + oprofile oops

2007-10-11 Thread Philippe Elie
On Sat, 29 Sep 2007 at 20:05 +, Sami Farin wrote: > > x86_64 SMP kernel v2.6.22.6 (not using callgraph). > > sometimes oprofile works for a longer time... but not this time. > > > > 2007-09-22 13:53:32.52723 <1>[ 3372.390188] Unable to handle kernel > > NULL pointer dereference at 00

Re: [discuss] [PATCH] allow CONFIG_FRAME_POINTER for x86-64

2005-09-09 Thread Philippe Elie
On Fri, 09 Sep 2005 at 11:23 +, Andi Kleen wrote: > Indeed. Someone must have fixed it. But why would anyone want frame pointers > on x86-64? Oprofile can use it, I though it was already used but apparently only to backtrace userspace actually. -- Philippe Elie - To unsubscrib

Re: Second "CPU" of 1-core HyperThreading CPU not found in 2.6.13

2005-08-30 Thread Philippe Elie
th the new default tick rate of 250Hz > - I'm running 1000Hz, and I have also enabled the Preemptible kernel and BKL > Preemption as I have in earlier kernels. I needed CONFIG_PM=y and CONFIG_ACPI=y to get ht working on 2.6.13. regards, Philippe Elie - To unsubscribe from th

Re: [PATCH] Mobil Pentium 4 HT and the NMI

2005-08-19 Thread Philippe Elie
x27;t be able to use the NMI. > > > > Well I was hoping that someone with knowledge of the low-level Intel model > differences would pipe up, but they all seem to be in hiding. (Wildly > bcc's lots of x86 people). There is no documented change regarding to the use

Re: Oops with oprofile + RT preempt 2.6.11-rc2-RT-V0.7.37-01

2005-02-13 Thread Philippe Elie
(str)); } oprofile_ops.cpu_type == NULL, this has been fixed 3 weeks ago, can you retry with -rc4 ? Philippe Elie - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/