#ifndef __PERF_DATA_H #define __PERF_DATA_H #include <stdbool.h> enum perf_data_mode { PERF_DATA_MODE_WRITE, PERF_DATA_MODE_READ, }; struct perf_data_file { const char *path; int fd; bool is_pipe; bool force; unsigned long size; enum perf_data_mode mode; };
static inline bool perf_data_file__is_read(struct perf_data_file *file) { return file->mode == PERF_DATA_MODE_READ; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
jiri olsa | jiri olsa | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
jiri olsa | jiri olsa | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
jiri olsa | jiri olsa | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
jiri olsa | jiri olsa | 17 | 100.00% | 1 | 100.00% |
Total | 17 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
jiri olsa | jiri olsa | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
jiri olsa | jiri olsa | 171 | 89.06% | 4 | 80.00% |
wang nan | wang nan | 21 | 10.94% | 1 | 20.00% |
Total | 192 | 100.00% | 5 | 100.00% |