mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 07:30:54 +00:00
Add note that you need to compile the module with the same compiler that
Mon Mar 7 14:47:09 2005 Søren Sandmann <sandmann@redhat.com> * README: Add note that you need to compile the module with the same compiler that compiled the kernel.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
d07d245228
commit
60b9741658
@ -1,3 +1,8 @@
|
|||||||
|
Mon Mar 7 14:47:09 2005 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
|
* README: Add note that you need to compile the module with
|
||||||
|
the same compiler that compiled the kernel.
|
||||||
|
|
||||||
Sun Mar 6 22:56:21 2005 Soeren Sandmann <sandmann@redhat.com>
|
Sun Mar 6 22:56:21 2005 Soeren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
* sfile.c: Generate id's for objects and pointers.
|
* sfile.c: Generate id's for objects and pointers.
|
||||||
|
|||||||
17
README
17
README
@ -1,14 +1,23 @@
|
|||||||
This is a sampling profiler that uses a kernel module, sysprof-module,
|
Sysprof is a sampling profiler that uses a kernel module, sysprof-module.ko,
|
||||||
to generate stacktraces which are then interpreted by the userspace
|
to generate stacktraces which are then interpreted by the userspace
|
||||||
program "sysprof".
|
program "sysprof".
|
||||||
|
|
||||||
- There is no auto* stuff. Just type "make" and hope for the best
|
- There is no auto* stuff. Just type "make" and hope for the best
|
||||||
|
|
||||||
- You need gtk+ 2.4.0 or better. If you are using gtk+ 2.5 or newer
|
- You need gtk+ 2.4.0 or better. If you are using gtk+ 2.6 or newer
|
||||||
you also need libglade cvs HEAD.
|
you also need libglade cvs HEAD.
|
||||||
|
|
||||||
- You need a 2.6 kernel. On SMP kernels the module seems to crash the system
|
- You need a 2.6 kernel. On SMP kernels the module produces unreliable data.
|
||||||
from time to time, so you might want to stick with UP kernels.
|
|
||||||
|
- The module must be compiled with the same compiler that compiled the
|
||||||
|
kernel it is going to be used with. For most systems that is just
|
||||||
|
the system compiler, but if you have upgraded your kernel it is
|
||||||
|
possible the one was compiled with a difference compiler.
|
||||||
|
|
||||||
|
In that case, "insmod sysprof-module.ko" will produce this
|
||||||
|
error message:
|
||||||
|
|
||||||
|
insmod: error inserting './sysprof-module.o': -1 Invalid module format
|
||||||
|
|
||||||
- The programs you want to profile should have debugging symbols, or
|
- The programs you want to profile should have debugging symbols, or
|
||||||
you won't get much usable information. On a Fedora Core system,
|
you won't get much usable information. On a Fedora Core system,
|
||||||
|
|||||||
Reference in New Issue
Block a user