Complain if we can't find /lib/modules/uname -r/build/Makefile.

Tue Aug 30 16:57:33 2005  Søren Sandmann  <sandmann@redhat.com>

	* configure.ac: Complain if we can't find /lib/modules/`uname
	-r`/build/Makefile.

	* process.c (process_lookup_symbol): Take an address of 0x1 to
	mean "in kernel".

	* module/sysprof-module.c (timer_notify): When reporting in-kernel
	time, give the current pid instead of -1.

	* TODO: updates
This commit is contained in:
Søren Sandmann
2005-08-30 20:58:18 +00:00
committed by Søren Sandmann Pedersen
parent 509d5f07ed
commit ee53bcffd4
5 changed files with 50 additions and 14 deletions

View File

@ -462,10 +462,12 @@ timer_notify (struct pt_regs *regs)
{
/* kernel */
trace->pid = -1;
trace->pid = current->pid;
trace->truncated = 0;
trace->n_addresses = 1;
trace->addresses[0] = 0x0;
/* 0x1 is taken by sysprof to mean "in kernel" */
trace->addresses[0] = (void *)0x1;
}
else
{