SAMPLE_MODE_NUM
SAMPLE_MODE_NUM;
struct ptrarray sample_list[SAMPLE_MODE_NUM];
static u_int sample_n_kern[SAMPLE_MODE_NUM];
static u_int sample_n_user[SAMPLE_MODE_NUM];
static uint32_t *sample_n_kern_per_cpu[SAMPLE_MODE_NUM]; /* [ncpu] */
static uint32_t *sample_n_user_per_cpu[SAMPLE_MODE_NUM]; /* [ncpu] */
static uint64_t *sample_n_per_event[SAMPLE_MODE_NUM]; /* [nevent] */
static uint64_t *sample_n_per_event_cpu[SAMPLE_MODE_NUM]; /* [ncpu] */
sizeof(e->num_cpu[0]) * SAMPLE_MODE_NUM * ncpu;
for (mode = 0; mode < SAMPLE_MODE_NUM; mode++) {
for (mode = 0; mode < SAMPLE_MODE_NUM; mode++) {
for (mode = 0; mode < SAMPLE_MODE_NUM; mode++) {
uint32_t num[SAMPLE_MODE_NUM];