/* SPDX-License-Identifier: GPL-2.0 */ #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]; }; bool loaded; }; 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 | 32 | 100.00% | 1 | 100.00% |
Total | 32 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Jiri Olsa | 146 | 99.32% | 2 | 66.67% |
Greg Kroah-Hartman | 1 | 0.68% | 1 | 33.33% |
Total | 147 | 100.00% | 3 | 100.00% |