summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoren Sandmann <sandmann@daimi.au.dk>2008-04-28 01:04:02 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2008-04-28 01:04:02 +0000
commit43bae732ab7c856a521303f13a5ccc3496a64716 (patch)
treef382934e22e6ec7eb647d446cb1683478b720d46
parentec85bc0d2a7baf1d566416fc5335af4f183eed39 (diff)
-=-=-=- Release sysprof 1.0.10 -=-=-=-sysprof-1.0.10
2008-04-27 Soren Sandmann <sandmann@daimi.au.dk> * -=-=-=- Release sysprof 1.0.10 -=-=-=- * configure.ac: Bump version * sysprof.c: Bump year * module/sysprof-module.c: Make it compile with 2.6.25 svn path=/branches/sysprof-1-0/; revision=416
-rw-r--r--ChangeLog8
-rw-r--r--TODO13
-rw-r--r--announce-1.0.1061
-rw-r--r--configure.ac2
-rw-r--r--module/sysprof-module.c25
-rw-r--r--sysprof.c2
6 files changed, 98 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index 8c94f54..4dcf48f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-04-27 Soren Sandmann <sandmann@daimi.au.dk>
+
+ * -=-=-=- Release sysprof 1.0.10 -=-=-=-
+
+ * configure.ac: Bump version
+
+ * sysprof.c: Bump year
+
2007-10-21 Soren Sandmann <sandmann@daimi.au.dk>
* -=-=-=- Release sysprof 1.0.9 -=-=-=-
diff --git a/TODO b/TODO
index d39cb7d..5458d6b 100644
--- a/TODO
+++ b/TODO
@@ -1,16 +1,23 @@
Before 1.0:
- Update version numbers and year in source
+ - configure.ac
+ - sysprof.c about box
+ - any file that changed
+
+ - make announce-1.0.10 file
+ - search-and-replace 1.0.(x-1) 1.0.x
+ - Add notes in sysprof-1.0.x section
+
+ - svn add announce-1.0.x
- Make tarball
- Check that tarball works
- - svn add announce-1.0.x
-
- svn commit
- - svn copy svn+ssh://ssp@svn.gnome.org/svn/sysprof/branches/sysprof-1-0 svn+ssh://ssp@svn.gnome.org/svn/sysprof/tags/SYSPROF-1-0-9 -m "tag for 1.0.9"
+ - svn copy svn+ssh://ssp@svn.gnome.org/svn/sysprof/branches/sysprof-1-0 svn+ssh://ssp@svn.gnome.org/svn/sysprof/tags/SYSPROF-1-0-9 -m "tag 1.0.10"
- Update website
diff --git a/announce-1.0.10 b/announce-1.0.10
new file mode 100644
index 0000000..a30ac38
--- /dev/null
+++ b/announce-1.0.10
@@ -0,0 +1,61 @@
+Sysprof Linux Profiler v. 1.0.10
+
+
+* What is it?
+--------------------------
+
+Sysprof is a sampling system-wide CPU profiler for Linux.
+
+Sysprof uses a Linux kernel module to profile the entire system, not
+just an individual application. Sysprof handles threads and shared
+libraries, and applications do not have to be recompiled or
+instrumented. In fact they don't even have to be restarted.
+
+
+* Features:
+----------------------
+
+ - Profiles all running processes, not just a single application
+
+ - Call graph support showing time spent in each branch of the call tree
+
+ - Has a simple graphical interface
+
+ - Profiles can be loaded and saved
+
+ - Easy to use: Just insert the kernel module and start sysprof
+
+ - Supports Fedora debuginfo packages
+
+
+* Sysprof 1.0.10
+--------------------------
+
+ - Compiles with Linux 2.6.25
+
+
+Please report bugs as well as success or failure stories to
+
+ sandmann@daimi au dk
+
+
+
+* Where can I get it?
+--------------------------------------------
+
+Home page:
+
+ http://www.daimi.au.dk/~sandmann/sysprof/
+
+Source code:
+
+ http://www.daimi.au.dk/~sandmann/sysprof/sysprof-1.0.10.tar.gz
+
+Sysprof requires
+
+ - Linux 2.6.11 or later, compiled with profiling support
+ - GTK+ 2.6
+ - libglade 2.5
+
+
+Søren
diff --git a/configure.ac b/configure.ac
index 3fb31dd..e35a14a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
AC_PREREQ(2.54)
-AC_INIT([sysprof], [1.0.9])
+AC_INIT([sysprof], [1.0.10])
AC_CONFIG_SRCDIR(sysprof.glade)
AM_INIT_AUTOMAKE(no-define)
diff --git a/module/sysprof-module.c b/module/sysprof-module.c
index cc4473e..0d7db92 100644
--- a/module/sysprof-module.c
+++ b/module/sysprof-module.c
@@ -2,7 +2,7 @@
/* Sysprof -- Sampling, systemwide CPU profiler
* Copyright 2004, Red Hat, Inc.
- * Copyright 2004, 2005, Soeren Sandmann
+ * Copyright 2004, 2005, 2006, 2007, 2008, Soeren Sandmann
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -68,15 +68,24 @@ DECLARE_WAIT_QUEUE_HEAD (wait_for_exit);
/* Macro the names of the registers that are used on each architecture */
#if defined(CONFIG_X86_64)
-# define REG_FRAME_PTR rbp
-# define REG_INS_PTR rip
-# define REG_STACK_PTR rsp
+# define REG_FRAME_PTR rbp
+# define REG_INS_PTR rip
+# define REG_STACK_PTR rsp
+# define REG_STACK_PTR0 rsp0
#elif defined(CONFIG_X86)
-# define REG_FRAME_PTR ebp
-# define REG_INS_PTR eip
-# define REG_STACK_PTR esp
+# if LINUX_VERSION_CODE >= KERNEL_VERSION (2,6,25)
+# define REG_FRAME_PTR bp
+# define REG_INS_PTR ip
+# define REG_STACK_PTR sp
+# define REG_STACK_PTR0 sp0
+# else
+# define REG_FRAME_PTR ebp
+# define REG_INS_PTR eip
+# define REG_STACK_PTR esp
+# define REG_STACK_PTR0 esp0
+# endif
#else
-# error Sysprof only supports the i386 and x86-64 architectures
+# error Sysprof only supports the i386 and x86-64 architectures
#endif
typedef struct userspace_reader userspace_reader;
diff --git a/sysprof.c b/sysprof.c
index 49d4e95..7024497 100644
--- a/sysprof.c
+++ b/sysprof.c
@@ -872,7 +872,7 @@ on_about_activated (GtkWidget *widget, gpointer data)
gtk_show_about_dialog (GTK_WINDOW (app->main_window),
"logo", app->icon,
"name", APPLICATION_NAME,
- "copyright", "Copyright 2004-2007, S"OSLASH"ren Sandmann",
+ "copyright", "Copyright 2004-2008, S"OSLASH"ren Sandmann",
"version", PACKAGE_VERSION,
NULL);
}