/Linux-v5.10/tools/testing/selftests/powerpc/pmu/ebb/ |
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-v5.10/tools/testing/selftests/powerpc/pmu/ |
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()
|
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-v5.10/tools/perf/tests/ |
D | attr.c | 68 int fd, int group_fd, unsigned long flags) in store_event() argument 94 __WRITE_ASS(group_fd, "d", group_fd); in store_event() 147 int fd, int group_fd, unsigned long flags) in test_attr__open() argument 151 if ((fd != -1) && store_event(attr, pid, cpu, fd, group_fd, flags)) { in test_attr__open()
|
D | attr.py | 291 group_fd = event['group_fd']; 292 if group_fd == '-1': 296 if (ievent['fd'] == group_fd):
|
/Linux-v5.10/tools/perf/ |
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()
|
D | design.txt | 25 pid_t pid, int cpu, int group_fd, 266 The 'group_fd' parameter allows counter "groups" to be set up. A 268 is created first, with group_fd = -1 in the sys_perf_event_open call 270 subsequently, with group_fd giving the fd of the group leader. 271 (A single counter on its own is created with group_fd = -1 and is
|
/Linux-v5.10/tools/perf/tests/attr/ |
D | test-stat-group1 | 8 group_fd=-1 13 group_fd=1
|
D | test-stat-group | 8 group_fd=-1 13 group_fd=1
|
D | test-record-group1 | 8 group_fd=-1 14 group_fd=1
|
D | test-record-group | 8 group_fd=-1 14 group_fd=1
|
D | test-record-group2 | 8 group_fd=-1 18 group_fd=1
|
D | test-record-group-sampling | 8 group_fd=-1 15 group_fd=1
|
D | base-record | 3 group_fd=-1
|
D | base-stat | 3 group_fd=-1
|
D | system-wide-dummy | 5 group_fd=-1
|
/Linux-v5.10/tools/testing/selftests/powerpc/ |
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-v5.10/tools/testing/selftests/powerpc/ptrace/ |
D | perf-hwbreak.c | 38 int cpu, int group_fd, in sys_perf_event_open() argument 42 return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags); in sys_perf_event_open()
|
/Linux-v5.10/tools/perf/util/ |
D | util.h | 70 int fd, int group_fd, unsigned long flags);
|
D | evsel.c | 1657 pid_t pid, int cpu, int group_fd, in perf_event_open() argument 1665 pid, cpu, group_fd, flags); in perf_event_open() 1667 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu, group_fd, flags); in perf_event_open() 1777 int fd, group_fd; in evsel__open_cpu() local 1782 group_fd = get_group_fd(evsel, cpu, thread); in evsel__open_cpu() 1787 group_fd, flags); in evsel__open_cpu() 1793 fd, group_fd, flags); in evsel__open_cpu()
|
/Linux-v5.10/tools/lib/perf/ |
D | evsel.c | 60 pid_t pid, int cpu, int group_fd, in sys_perf_event_open() argument 63 return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags); in sys_perf_event_open()
|
/Linux-v5.10/tools/testing/selftests/resctrl/ |
D | resctrl.h | 86 int group_fd, unsigned long flags);
|
D | resctrlfs.c | 703 int group_fd, unsigned long flags) in perf_event_open() argument 708 group_fd, flags); in perf_event_open()
|
/Linux-v5.10/tools/testing/selftests/powerpc/include/ |
D | utils.h | 40 unsigned long config, int group_fd);
|
/Linux-v5.10/tools/perf/Documentation/ |
D | perf-intel-pt.txt | 275 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8 276 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8 277 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8 278 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8 777 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8 778 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8 779 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8 780 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8 793 sys_perf_event_open: pid -1 cpu 0 group_fd -1 flags 0x8 794 sys_perf_event_open: pid -1 cpu 1 group_fd -1 flags 0x8 [all …]
|