#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 | thomas gleixner | 34 | 100.00% | 1 | 100.00% |
Total | 34 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
arnaldo carvalho de melo | arnaldo carvalho de melo | 55 | 20.37% | 8 | 20.00% |
jiri olsa | jiri olsa | 54 | 20.00% | 4 | 10.00% |
thomas gleixner | thomas gleixner | 45 | 16.67% | 2 | 5.00% |
adrian hunter | adrian hunter | 27 | 10.00% | 5 | 12.50% |
namhyung kim | namhyung kim | 25 | 9.26% | 3 | 7.50% |
peter zijlstra | peter zijlstra | 13 | 4.81% | 2 | 5.00% |
andi kleen | andi kleen | 12 | 4.44% | 4 | 10.00% |
stephane eranian | stephane eranian | 10 | 3.70% | 3 | 7.50% |
feng tang | feng tang | 6 | 2.22% | 1 | 2.50% |
wang nan | wang nan | 6 | 2.22% | 2 | 5.00% |
yanmin zhang | yanmin zhang | 5 | 1.85% | 1 | 2.50% |
kan liang | kan liang | 4 | 1.48% | 1 | 2.50% |
andrey vagin | andrey vagin | 3 | 1.11% | 1 | 2.50% |
roberto agostino vitillo | roberto agostino vitillo | 2 | 0.74% | 1 | 2.50% |
david howells | david howells | 2 | 0.74% | 1 | 2.50% |
david ahern | david ahern | 1 | 0.37% | 1 | 2.50% |
Total | 270 | 100.00% | 40 | 100.00% |