cpu_buf->sample_lost_task_exit = 0;
}
- atomic_set(&oprofile_stats.sample_lost_mmap_sem, 0);
+ atomic_set(&oprofile_stats.sample_lost_no_mm, 0);
atomic_set(&oprofile_stats.event_lost_overflow, 0);
}
&cpu_buf->sample_lost_task_exit);
}
- oprofilefs_create_ro_atomic(sb, dir, "sample_lost_mmap_sem",
- &oprofile_stats.sample_lost_mmap_sem);
+ oprofilefs_create_ro_atomic(sb, dir, "sample_lost_no_mm",
+ &oprofile_stats.sample_lost_no_mm);
oprofilefs_create_ro_atomic(sb, dir, "event_lost_overflow",
&oprofile_stats.event_lost_overflow);
}
#include <asm/atomic.h>
struct oprofile_stat_struct {
- atomic_t sample_lost_mmap_sem;
+ atomic_t sample_lost_no_mm;
atomic_t event_lost_overflow;
};