Re: [OT] Argument with an OS professor over profile=3

2007-10-10 Thread Russ Dill
On 10/10/07, David Newall <[EMAIL PROTECTED]> wrote: > Russ Dill wrote: > > I've been having a back and forth going for a while with my TA and OS > > professor on the meaning of profile=3 and have been unable to convince > > either of them. The basic question is if profile=3 is passed to kernel > >

Re: [OT] Argument with an OS professor over profile=3

2007-10-10 Thread David Newall
Russ Dill wrote: I've been having a back and forth going for a while with my TA and OS professor on the meaning of profile=3 and have been unable to convince either of them. The basic question is if profile=3 is passed to kernel with an 8MB text section, how big is the allocated profile buffer. H

Re: [OT] Argument with an OS professor over profile=3

2007-10-10 Thread Jan Engelhardt
On Oct 11 2007 00:13, Russ Dill wrote: > >/* only text is profiled */ >> prof_len = (unsigned *) &_etext - (unsigned *) &_stext; Uh, that's some evil pointer arithmetic :) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: [OT] Argument with an OS professor over profile=3

2007-10-10 Thread Russ Dill
/* only text is profiled */ > prof_len = (unsigned *) &_etext - (unsigned *) &_stext; Crap, sorry, accidentally sent a version I had laying around demonstrating how one *would* get the answer he expects. The correct line is of course: prof_len = (unsigned long) &_e

[OT] Argument with an OS professor over profile=3

2007-10-10 Thread Russ Dill
I've been having a back and forth going for a while with my TA and OS professor on the meaning of profile=3 and have been unable to convince either of them. The basic question is if profile=3 is passed to kernel with an 8MB text section, how big is the allocated profile buffer. His answer is 1MB...