mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 23:51:06 +00:00
Add version information
Sun Jun 19 15:39:50 2005 Søren Sandmann <sandmann@redhat.com> * sysprof.c (on_about_activated): Add version information * configure.ac: Bump version to 0.91 * README: Updates
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
18abd9e1e6
commit
8e4696a4a1
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
Sun Jun 19 15:42:34 2005 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
|
* module/sysprof-module.c (SAMPLES_PER_SECOND): Set to 200.
|
||||||
|
|
||||||
|
* sysprof.c (on_about_activated): Add version information
|
||||||
|
|
||||||
|
* configure.ac: Bump version to 0.91
|
||||||
|
|
||||||
|
* README: Updates
|
||||||
|
|
||||||
Sat Jun 18 22:45:04 2005 Søren Sandmann <sandmann@redhat.com>
|
Sat Jun 18 22:45:04 2005 Søren Sandmann <sandmann@redhat.com>
|
||||||
|
|
||||||
* TODO: Updates
|
* TODO: Updates
|
||||||
|
|||||||
67
README
67
README
@ -1,33 +1,70 @@
|
|||||||
Sysprof is a sampling profiler that uses a kernel module, sysprof-module.ko,
|
Sysprof is a sampling profiler that uses a kernel module to generate
|
||||||
to generate stacktraces which are then interpreted by the userspace
|
stacktraces which are then interpreted by the userspace program
|
||||||
program "sysprof".
|
"sysprof".
|
||||||
|
|
||||||
See http://www.daimi.au.dk/~sandmann/sysprof/ for more information
|
See the Sysprof homepage:
|
||||||
|
|
||||||
- You need gtk+ 2.6.0 or better.
|
http://www.daimi.au.dk/~sandmann/sysprof/
|
||||||
|
|
||||||
- You need at least Linux 2.6.11
|
for more information
|
||||||
|
|
||||||
- The module must be compiled with the same compiler that compiled the
|
Please mail bug reports to
|
||||||
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 different compiler.
|
|
||||||
|
|
||||||
In that case, "insmod sysprof-module.ko" will produce this
|
Soren Sandmann (sandmann@daimi.au.dk)
|
||||||
|
|
||||||
|
Also information about whether it works or doesn't work on your distribution
|
||||||
|
would be appreciated.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Requirements:
|
||||||
|
|
||||||
|
- A Linux kernel version 2.6.11 or newer is required.
|
||||||
|
Unlike Sysprof 0.9, version 0.91 should work fine on SMP systems.
|
||||||
|
|
||||||
|
- GTK+ 2.6.0 or newer is required
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Compiling:
|
||||||
|
|
||||||
|
- Sysprof must be compiled with the same compiler that compiled the
|
||||||
|
kernel it is going to be used with. Usually this is just the the
|
||||||
|
system compiler, but if you have upgraded your kernel it is
|
||||||
|
possible that the new kernel was compiled with a different compiler
|
||||||
|
|
||||||
|
In that case, "modprobe sysprof-module" will produce this
|
||||||
error message:
|
error message:
|
||||||
|
|
||||||
insmod: error inserting './sysprof-module.o': -1 Invalid module format
|
insmod: error inserting './sysprof-module.o': -1 Invalid module format
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Debugging symbols
|
||||||
|
|
||||||
- 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,
|
||||||
installing the relevant -debuginfo packages should do the trick.
|
installing the relevant -debuginfo package should be sufficient.
|
||||||
|
|
||||||
- To get usable data on the X server:
|
|
||||||
|
- X server.
|
||||||
|
|
||||||
|
The X server as shipped by most distributions uses its own home-rolled
|
||||||
|
module loading system and Sysprof has no way to deal with that, so if you
|
||||||
|
run sysprof with your normal X serverr you won't get any information about
|
||||||
|
how time is spent inside the X server.
|
||||||
|
|
||||||
|
To fix this you have to compile your own X server:
|
||||||
|
|
||||||
(1) Compile the X server to use ".so" modules:
|
(1) Compile the X server to use ".so" modules:
|
||||||
|
|
||||||
- Uncomment the line "MakeDllModules Yes" in
|
- Uncomment the line "MakeDllModules Yes" in
|
||||||
xc/config/cf/xorgsite.def
|
xc/config/cf/xorgsite.def.
|
||||||
|
|
||||||
|
If you are compiling the CVS version of the X server
|
||||||
|
(the one that will eventually become 7.0), then this is
|
||||||
|
already the default.
|
||||||
|
|
||||||
- "make World"
|
- "make World"
|
||||||
|
|
||||||
@ -49,6 +86,8 @@ See http://www.daimi.au.dk/~sandmann/sysprof/ for more information
|
|||||||
you why, but then I'd have to kill you.
|
you why, but then I'd have to kill you.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Credits:
|
Credits:
|
||||||
Diana Fong for the icon
|
Diana Fong for the icon
|
||||||
Kristian H<>gsberg for the first port to the 2.6 kernel.
|
Kristian H<>gsberg for the first port to the 2.6 kernel.
|
||||||
|
|||||||
6
TODO
6
TODO
@ -4,9 +4,6 @@ Before 1.0:
|
|||||||
- Find out what distributions it actually works on
|
- Find out what distributions it actually works on
|
||||||
(ask for sucess/failure-stories in 0.9.x releases)
|
(ask for sucess/failure-stories in 0.9.x releases)
|
||||||
|
|
||||||
- Check the kernel we are building against, if it is SMP or
|
|
||||||
less than 2.6.11, print a warning and suggest upgrading.
|
|
||||||
|
|
||||||
- After 1.0:
|
- After 1.0:
|
||||||
- Announce on news.gnome.org
|
- Announce on news.gnome.org
|
||||||
- Announce on Gnomefiles
|
- Announce on Gnomefiles
|
||||||
@ -361,6 +358,9 @@ Later:
|
|||||||
|
|
||||||
DONE:
|
DONE:
|
||||||
|
|
||||||
|
* Check the kernel we are building against, if it is SMP or
|
||||||
|
less than 2.6.11, print a warning and suggest upgrading.
|
||||||
|
|
||||||
* Timer interrupt based
|
* Timer interrupt based
|
||||||
|
|
||||||
* Interface
|
* Interface
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
AC_PREREQ(2.54)
|
AC_PREREQ(2.54)
|
||||||
|
|
||||||
AC_INIT([sysprof], [0.9])
|
AC_INIT([sysprof], [0.91])
|
||||||
AC_CONFIG_SRCDIR(sysprof.glade)
|
AC_CONFIG_SRCDIR(sysprof.glade)
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE(no-define)
|
AM_INIT_AUTOMAKE(no-define)
|
||||||
|
|||||||
@ -42,7 +42,7 @@
|
|||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_AUTHOR("Soeren Sandmann (sandmann@daimi.au.dk)");
|
MODULE_AUTHOR("Soeren Sandmann (sandmann@daimi.au.dk)");
|
||||||
|
|
||||||
#define SAMPLES_PER_SECOND (256)
|
#define SAMPLES_PER_SECOND (200)
|
||||||
#define INTERVAL (HZ / SAMPLES_PER_SECOND)
|
#define INTERVAL (HZ / SAMPLES_PER_SECOND)
|
||||||
#define N_TRACES 256
|
#define N_TRACES 256
|
||||||
|
|
||||||
|
|||||||
@ -873,6 +873,7 @@ on_about_activated (GtkWidget *widget, gpointer data)
|
|||||||
"logo", app->icon,
|
"logo", app->icon,
|
||||||
"name", APPLICATION_NAME,
|
"name", APPLICATION_NAME,
|
||||||
"copyright", "Copyright 2004-2005, S"OSLASH"ren Sandmann",
|
"copyright", "Copyright 2004-2005, S"OSLASH"ren Sandmann",
|
||||||
|
"version", PACKAGE_VERSION,
|
||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user