Re: sysprof in 2.6.27 kernel

Previous thread: [ANNOUNCE] GIT 1.6.0-rc3 by Junio C Hamano on Wednesday, August 13, 2008 - 1:39 am. (2 messages)

Next thread: [PATCH] kexec jump: fix compiling warning on xchg(&kexec_lock, 0) in kernel_kexec() by Huang Ying on Wednesday, August 13, 2008 - 2:12 am. (18 messages)
From: Lukas Hejtmanek
Date: Wednesday, August 13, 2008 - 1:39 am

Hello,

is there any port of sysprof gui that cooperates with the current 2.6.27 kernel
sysprof tracer?

-- 
Lukáš Hejtmánek
--

From: Soeren Sandmann
Date: Wednesday, August 13, 2008 - 4:23 pm

Yes, the port is accessible from here:

    svn checkout http://svn.gnome.org/svn/sysprof/branches/ftrace-branch sysprof

It's somewhat rough still. If you try it out, I will be interested in
any feedback you have.


Thanks,
Soren
--

From: Lukas Hejtmanek
Date: Thursday, August 14, 2008 - 4:10 am

another feedback. I got No map at all processes even at those I got debug info
installed.

-- 
Lukáš Hejtmánek
--

From: Soeren Sandmann
Date: Friday, August 15, 2008 - 7:50 pm

This may be because sysprof user space is not running as root, or it
may be because the kernel is generating bogus addresses. 

Generally, "No Map" means sysprof is seeing samples in memory regions
that are not in /proc/<pid>/maps



Soren
--

From: Soeren Sandmann
Date: Friday, August 15, 2008 - 8:16 pm

Actually, I seem to remember one cause of this: the vdso code creates
an unusual stackframe where the pointer to the previous frame is
stored in an unusual place. I think the sysprof kernel code needs to
take this into account, or alternatively send sufficient information
to userspace that it can figure it out itself.


Soren
--

From: Lukas Hejtmanek
Date: Sunday, August 17, 2008 - 5:45 am

yes, that could be because only null addresses are received.

-- 
Lukáš Hejtmánek
--

From: Lukas Hejtmanek
Date: Thursday, August 14, 2008 - 4:56 am

and another one. sysproc gui reads user addresses from the sysprof pipe with
null pointers. is this ok or is this a bug in sysprof kernel module?

-- 
Lukáš Hejtmánek
--

From: Soeren Sandmann
Date: Friday, August 15, 2008 - 7:52 pm

That is not ok, but it could happen if the process in question was not
compiled with framepointers. Or it could be a bug in the kernel code.


Soren
--

From: Lukas Hejtmanek
Date: Sunday, August 17, 2008 - 5:44 am

I tried to put printf in case th