/linux/tools/perf/tests/attr/ |
A D | test-stat-default | 75 group_fd=-1 84 group_fd=11 95 group_fd=11 106 group_fd=11 117 group_fd=11 128 group_fd=11 139 group_fd=11 150 group_fd=11 161 group_fd=11
|
A D | test-stat-detailed-1 | 76 group_fd=-1 85 group_fd=11 96 group_fd=11 107 group_fd=11 118 group_fd=11 129 group_fd=11 140 group_fd=11 151 group_fd=11 162 group_fd=11
|
A D | test-stat-detailed-2 | 76 group_fd=-1 85 group_fd=11 96 group_fd=11 107 group_fd=11 118 group_fd=11 129 group_fd=11 140 group_fd=11 151 group_fd=11 162 group_fd=11
|
A D | test-stat-detailed-3 | 76 group_fd=-1 85 group_fd=11 96 group_fd=11 107 group_fd=11 118 group_fd=11 129 group_fd=11 140 group_fd=11 151 group_fd=11 162 group_fd=11
|
A D | test-stat-group1 | 8 group_fd=-1 13 group_fd=1
|
A D | test-stat-group | 8 group_fd=-1 13 group_fd=1
|
A D | test-record-group | 8 group_fd=-1 14 group_fd=1
|
A D | test-record-group1 | 8 group_fd=-1 14 group_fd=1
|
A D | test-record-group2 | 8 group_fd=-1 18 group_fd=1
|
A D | test-record-group-sampling | 8 group_fd=-1 15 group_fd=1
|
A D | base-record | 3 group_fd=-1
|
A D | base-stat | 3 group_fd=-1
|
A D | system-wide-dummy | 5 group_fd=-1
|
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
A D | multi_counter_test.c | 19 int i, group_fd; in multi_counter() local 34 group_fd = -1; in multi_counter() 40 FAIL_IF(event_open_with_group(&events[i], group_fd)); in multi_counter() 41 if (group_fd == -1) in multi_counter() 42 group_fd = events[0].fd; in multi_counter()
|
/linux/tools/testing/selftests/powerpc/pmu/ |
A D | event.c | 17 int group_fd, unsigned long flags) in perf_event_open() argument 20 group_fd, flags); in perf_event_open() 52 int event_open_with_options(struct event *e, pid_t pid, int cpu, int group_fd) in event_open_with_options() argument 54 e->fd = perf_event_open(&e->attr, pid, cpu, group_fd, 0); in event_open_with_options() 63 int event_open_with_group(struct event *e, int group_fd) in event_open_with_group() argument 65 return event_open_with_options(e, PERF_CURRENT_PID, PERF_NO_CPU, group_fd); in event_open_with_group()
|
A D | event.h | 30 int event_open_with_options(struct event *e, pid_t pid, int cpu, int group_fd); 31 int event_open_with_group(struct event *e, int group_fd);
|
/linux/tools/perf/tests/ |
A D | attr.c | 69 int fd, int group_fd, unsigned long flags) in store_event() argument 95 __WRITE_ASS(group_fd, "d", group_fd); in store_event() 148 int fd, int group_fd, unsigned long flags) in test_attr__open() argument 152 if ((fd != -1) && store_event(attr, pid, cpu, fd, group_fd, flags)) { in test_attr__open()
|
A D | attr.py | 291 group_fd = event['group_fd']; 292 if group_fd == '-1': 296 if (ievent['fd'] == group_fd):
|
/linux/tools/lib/perf/ |
A D | evsel.c | 77 pid_t pid, int cpu, int group_fd, in sys_perf_event_open() argument 80 return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags); in sys_perf_event_open() 83 static int get_group_fd(struct perf_evsel *evsel, int cpu, int thread, int *group_fd) in get_group_fd() argument 89 *group_fd = -1; in get_group_fd() 104 *group_fd = *fd; in get_group_fd() 144 int fd, group_fd, *evsel_fd; in perf_evsel__open() local 150 err = get_group_fd(evsel, cpu, thread, &group_fd); in perf_evsel__open() 156 cpus->map[cpu], group_fd, 0); in perf_evsel__open()
|
/linux/tools/perf/ |
A D | perf-sys.h | 14 pid_t pid, int cpu, int group_fd, in sys_perf_event_open() argument 18 group_fd, flags); in sys_perf_event_open()
|
A D | design.txt | 25 pid_t pid, int cpu, int group_fd, 269 The 'group_fd' parameter allows counter "groups" to be set up. A 271 is created first, with group_fd = -1 in the sys_perf_event_open call 273 subsequently, with group_fd giving the fd of the group leader. 274 (A single counter on its own is created with group_fd = -1 and is
|
/linux/tools/testing/selftests/powerpc/ |
A D | utils.c | 207 int cpu, int group_fd, unsigned long flags) in perf_event_open() argument 210 group_fd, flags); in perf_event_open() 230 unsigned long config, int group_fd) in perf_event_open_counter() argument 237 fd = perf_event_open(&event_attr, 0, -1, group_fd, 0); in perf_event_open_counter()
|
/linux/tools/perf/util/ |
A D | util.h | 70 int fd, int group_fd, unsigned long flags);
|
/linux/tools/testing/selftests/resctrl/ |
A D | resctrl.h | 95 int group_fd, unsigned long flags);
|
/linux/tools/testing/selftests/powerpc/include/ |
A D | utils.h | 40 unsigned long config, int group_fd);
|