Hi Erik, Many thanks for your help. I am sending a file of 1M over the bluetooth interface (which I thought it would be enough) but I will try with a bigger file. However I still have a dough. You say that the profiler looks at which function is running at particular points in time. Do you know what is the frequency the profiler does this? Is there any way to configure it? Cheers, Filipa Duarte --- Erik Mouw <J.A.K.Mouw@xxxxxxxxxxxxxx> wrote: > On Thu, Aug 18, 2005 at 08:47:10AM -0700, Filipa > Duarte wrote: > > I am using embedded linux 2.4 and I want to do > some > > kernel profiling (specially on the bluetooth > > protocol). > > As 2.4 does not have oprofile I have to stick with > the > > old way (enable the profiler with profile=2 and > read > > the results using readprofile). > > > > I reset the buffer and I send a file over > bluetooth > > and each time I do this I have different functions > > called. I find this strange. Can someone explain > why > > this happens or direct me to so documentation? I > could > > not find anything useful... > > AFAIK the "old" profiler is a statistic profiler, > i.e.: at certain > points in time it looks which function is running. > Every time you run a > profile, this can be different functions. If you > want a more precise > profile, just let it run for a longer amount of time > (i.e.: send more > than one file, or send a larger file). > > > Erik > > -- > Erik Mouw > J.A.K.Mouw@xxxxxxxxxxxxxx mouw@xxxxxxxxxxxx > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/