mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
Some formatting fixes.
Sat Aug 12 16:40:38 2006 Søren Sandmann <sandmann@redhat.com> * module/sysprof-module.c: Some formatting fixes.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
c2f754dfb6
commit
bde3d8a537
@ -127,11 +127,11 @@ timer_notify (struct pt_regs *regs)
|
|||||||
int result;
|
int result;
|
||||||
static atomic_t in_timer_notify = ATOMIC_INIT(1);
|
static atomic_t in_timer_notify = ATOMIC_INIT(1);
|
||||||
|
|
||||||
/* 0: locked, 1: unlocked */
|
|
||||||
|
|
||||||
if (((++get_cpu_var(n_samples)) % INTERVAL) != 0)
|
if (((++get_cpu_var(n_samples)) % INTERVAL) != 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
/* 0: locked, 1: unlocked */
|
||||||
|
|
||||||
if (!atomic_dec_and_test(&in_timer_notify))
|
if (!atomic_dec_and_test(&in_timer_notify))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user