/Linux-v4.19/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-v4.19/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-v4.19/tools/perf/ |
D | perf-sys.h | 59 pid_t pid, int cpu, int group_fd, in sys_perf_event_open() argument 65 group_fd, flags); in sys_perf_event_open() 69 test_attr__open(attr, pid, cpu, fd, group_fd, flags); in sys_perf_event_open()
|
D | perf.h | 15 int fd, int group_fd, unsigned long flags);
|
D | design.txt | 25 pid_t pid, int cpu, int group_fd, 261 The 'group_fd' parameter allows counter "groups" to be set up. A 263 is created first, with group_fd = -1 in the sys_perf_event_open call 265 subsequently, with group_fd giving the fd of the group leader. 266 (A single counter on its own is created with group_fd = -1 and is
|
/Linux-v4.19/tools/perf/tests/ |
D | attr.c | 67 int fd, int group_fd, unsigned long flags) in store_event() argument 93 __WRITE_ASS(group_fd, "d", group_fd); in store_event() 146 int fd, int group_fd, unsigned long flags) in test_attr__open() argument 150 if ((fd != -1) && store_event(attr, pid, cpu, fd, group_fd, flags)) { in test_attr__open()
|
D | attr.py | 286 group_fd = event['group_fd']; 287 if group_fd == '-1': 291 if (ievent['fd'] == group_fd):
|
/Linux-v4.19/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-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 | README | 23 store 'fd' and 'group_fd' values to allow checking for groups.
|
/Linux-v4.19/tools/testing/selftests/powerpc/ptrace/ |
D | perf-hwbreak.c | 42 int cpu, int group_fd, in sys_perf_event_open() argument 46 return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags); in sys_perf_event_open()
|
/Linux-v4.19/tools/perf/Documentation/ |
D | intel-pt.txt | 210 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8 211 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8 212 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8 213 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8 640 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8 641 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8 642 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8 643 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8 656 sys_perf_event_open: pid -1 cpu 0 group_fd -1 flags 0x8 657 sys_perf_event_open: pid -1 cpu 1 group_fd -1 flags 0x8 [all …]
|
/Linux-v4.19/arch/s390/kernel/ |
D | compat_wrapper.c | 158 … struct perf_event_attr __user *, attr_uptr, pid_t, pid, int, cpu, int, group_fd, unsigned long, f…
|
/Linux-v4.19/tools/perf/util/ |
D | evsel.c | 1814 int fd, group_fd; in perf_evsel__open() local 1819 group_fd = get_group_fd(evsel, cpu, thread); in perf_evsel__open() 1822 pid, cpus->map[cpu], group_fd, flags); in perf_evsel__open() 1827 group_fd, flags); in perf_evsel__open()
|
D | python.c | 1374 int fd, int group_fd, unsigned long flags) in test_attr__open() argument
|
/Linux-v4.19/tools/kvm/kvm_stat/ |
D | kvm_stat | 414 def _perf_event_open(self, attr, pid, cpu, group_fd, flags): argument 431 ctypes.c_int(group_fd), ctypes.c_long(flags))
|
/Linux-v4.19/include/linux/ |
D | syscalls.h | 828 pid_t pid, int cpu, int group_fd, unsigned long flags);
|
/Linux-v4.19/kernel/events/ |
D | core.c | 10393 pid_t, pid, int, cpu, int, group_fd, unsigned long, flags) in SYSCALL_DEFINE5() argument 10456 if (group_fd != -1) { in SYSCALL_DEFINE5() 10457 err = perf_fget_light(group_fd, &group); in SYSCALL_DEFINE5()
|