Sat Jun 18 22:45:04 2005  Søren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

	* configure.ac: Check for Linux 2.6.11

	* process.c (get_pidname): Present pid=-1 as [kernel].

	* module/sysprof-module.c: Use register_timer_hook() instead of
	a kernel timer. Set trace.pid to -1 if interrupt happens in
	kernel.
This commit is contained in:
Søren Sandmann
2005-06-19 02:46:19 +00:00
committed by Søren Sandmann Pedersen
parent fb7e1ddc47
commit 18abd9e1e6
7 changed files with 192 additions and 14 deletions

View File

@ -26,7 +26,7 @@ typedef struct SysprofStackTrace SysprofStackTrace;
struct SysprofStackTrace
{
int pid;
int pid; /* -1 if in kernel */
int truncated;
int n_addresses; /* note: this can be 1 if the process was compiled
* with -fomit-frame-pointer or is otherwise weird