/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _PERF_PERF_H #define _PERF_PERF_H #include <time.h> #include <stdbool.h> #include <linux/types.h> #include <linux/perf_event.h> extern bool test_attr__enabled; void test_attr__ready(void); void test_attr__init(void); void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu, int fd, int group_fd, unsigned long flags); #define HAVE_ATTR_TEST #include "perf-sys.h"
static inline unsigned long long rdclock(void) { struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts); return ts.tv_sec * 1000000000ULL + ts.tv_nsec; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Thomas Gleixner | 34 | 100.00% | 1 | 100.00% |
Total | 34 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Jiri Olsa | 60 | 21.20% | 5 | 11.36% |
Arnaldo Carvalho de Melo | 55 | 19.43% | 8 | 18.18% |
Thomas Gleixner | 45 | 15.90% | 2 | 4.55% |
Adrian Hunter | 27 | 9.54% | 5 | 11.36% |
Namhyung Kim | 25 | 8.83% | 3 | 6.82% |
Peter Zijlstra | 13 | 4.59% | 2 | 4.55% |
Andi Kleen | 12 | 4.24% | 4 | 9.09% |
Stéphane Eranian | 10 | 3.53% | 3 | 6.82% |
Kan Liang | 7 | 2.47% | 2 | 4.55% |
Feng Tang | 6 | 2.12% | 1 | 2.27% |
Wang Nan | 6 | 2.12% | 2 | 4.55% |
Yanmin Zhang | 5 | 1.77% | 1 | 2.27% |
Andrey Vagin | 3 | 1.06% | 1 | 2.27% |
Hari Bathini | 3 | 1.06% | 1 | 2.27% |
David Howells | 2 | 0.71% | 1 | 2.27% |
Roberto Agostino Vitillo | 2 | 0.71% | 1 | 2.27% |
Greg Kroah-Hartman | 1 | 0.35% | 1 | 2.27% |
David Ahern | 1 | 0.35% | 1 | 2.27% |
Total | 283 | 100.00% | 44 | 100.00% |