Make n_samples per-cpu. Add an atomic variable in_timer_notify and use it

Sat Aug 12 16:13:05 2006  Søren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c: Make n_samples per-cpu. Add an atomic
	variable in_timer_notify and use it to lock out simultaneous timer
	interrupts.

	* stackstash.c (decorate_node): Make decorate_node() static

	* TODO
This commit is contained in:
Søren Sandmann
2006-08-12 20:15:52 +00:00
committed by Søren Sandmann Pedersen
parent 060fd343a8
commit c2f754dfb6
4 changed files with 55 additions and 10 deletions

View File

@ -62,7 +62,7 @@ stack_stash_new (GDestroyNotify destroy)
return create_stack_stash (destroy);
}
void
static void
decorate_node (StackStash *stash,
StackNode *node)
{