#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__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 | 55 | 20.15% | 8 | 19.51% |
| Jiri Olsa | 54 | 19.78% | 4 | 9.76% |
| Thomas Gleixner | 45 | 16.48% | 2 | 4.88% |
| Adrian Hunter | 27 | 9.89% | 5 | 12.20% |
| Namhyung Kim | 25 | 9.16% | 3 | 7.32% |
| Peter Zijlstra | 13 | 4.76% | 2 | 4.88% |
| Andi Kleen | 12 | 4.40% | 4 | 9.76% |
| Stéphane Eranian | 10 | 3.66% | 3 | 7.32% |
| Feng Tang | 6 | 2.20% | 1 | 2.44% |
| Wang Nan | 6 | 2.20% | 2 | 4.88% |
| Yanmin Zhang | 5 | 1.83% | 1 | 2.44% |
| Kan Liang | 4 | 1.47% | 1 | 2.44% |
| Andrey Vagin | 3 | 1.10% | 1 | 2.44% |
| Hari Bathini | 3 | 1.10% | 1 | 2.44% |
| Roberto Agostino Vitillo | 2 | 0.73% | 1 | 2.44% |
| David Howells | 2 | 0.73% | 1 | 2.44% |
| David Ahern | 1 | 0.37% | 1 | 2.44% |
| Total | 273 | 100.00% | 41 | 100.00% |