#ifndef __PERF_COUNTS_H #define __PERF_COUNTS_H #include "xyarray.h" struct perf_counts_values { union { struct { u64 val; u64 ena; u64 run; }; u64 values[3]; }; }; struct perf_counts { s8 scaled; struct perf_counts_values aggr; struct xyarray *values; };
static inline struct perf_counts_values* perf_counts(struct perf_counts *counts, int cpu, int thread) { return xyarray__entry(counts->values, cpu, thread); }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
jiri olsa | jiri olsa | 32 | 100.00% | 1 | 100.00% |
Total | 32 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
jiri olsa | jiri olsa | 143 | 100.00% | 1 | 100.00% |
Total | 143 | 100.00% | 1 | 100.00% |