/* 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/stddef.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 |
Arnaldo Carvalho de Melo | 79 | 24.69% | 11 | 21.57% |
Jiri Olsa | 66 | 20.62% | 7 | 13.73% |
Thomas Gleixner | 45 | 14.06% | 2 | 3.92% |
Adrian Hunter | 27 | 8.44% | 5 | 9.80% |
Namhyung Kim | 25 | 7.81% | 3 | 5.88% |
Andi Kleen | 15 | 4.69% | 5 | 9.80% |
Peter Zijlstra | 13 | 4.06% | 2 | 3.92% |
Stéphane Eranian | 10 | 3.12% | 3 | 5.88% |
Kan Liang | 7 | 2.19% | 2 | 3.92% |
Feng Tang | 6 | 1.88% | 1 | 1.96% |
Wang Nan | 6 | 1.88% | 2 | 3.92% |
Yanmin Zhang | 5 | 1.56% | 1 | 1.96% |
Jin Yao | 4 | 1.25% | 1 | 1.96% |
Andrey Vagin | 3 | 0.94% | 1 | 1.96% |
Hari Bathini | 3 | 0.94% | 1 | 1.96% |
Roberto Agostino Vitillo | 2 | 0.62% | 1 | 1.96% |
David Howells | 2 | 0.62% | 1 | 1.96% |
Greg Kroah-Hartman | 1 | 0.31% | 1 | 1.96% |
David Ahern | 1 | 0.31% | 1 | 1.96% |
Total | 320 | 100.00% | 51 | 100.00% |