48 return evsel->
counts != NULL ? 0 : -ENOMEM;
void xyarray__delete(struct xyarray *xy)
struct xyarray * xyarray__new(int xlen, int ylen, size_t entry_size)
void perf_evsel__reset_counts(struct perf_evsel *evsel)
static unsigned int nthreads
static void perf_counts__reset(struct perf_counts *counts)
struct perf_counts * counts
void perf_evsel__free_counts(struct perf_evsel *evsel)
void perf_counts__delete(struct perf_counts *counts)
int perf_evsel__alloc_counts(struct perf_evsel *evsel, int ncpus, int nthreads)
struct perf_counts * perf_counts__new(int ncpus, int nthreads)
static unsigned int ncpus
void static void * zalloc(size_t size)
void xyarray__reset(struct xyarray *xy)