Home
last modified time | relevance | path

Searched refs:group_fd (Results 26 – 38 of 38) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/resctrl/
H A Dresctrlfs.c713 int group_fd, unsigned long flags) in perf_event_open() argument
718 group_fd, flags); in perf_event_open()
/openbmc/linux/tools/perf/
H A Ddesign.txt25 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
/openbmc/linux/tools/testing/selftests/powerpc/include/
H A Dutils.h66 unsigned long config, int group_fd);
/openbmc/linux/tools/perf/tests/attr/
H A DREADME23 store 'fd' and 'group_fd' values to allow checking for groups.
/openbmc/qemu/hw/vfio/
H A Dcontainer.c361 static int vfio_init_container(VFIOContainer *container, int group_fd, in vfio_init_container() argument
371 ret = ioctl(group_fd, VFIO_GROUP_SET_CONTAINER, &container->fd); in vfio_init_container()
/openbmc/linux/tools/perf/Documentation/
H A Dperf-intel-pt.txt300 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8
301 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8
302 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8
303 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8
828 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8
829 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8
830 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8
844 sys_perf_event_open: pid -1 cpu 0 group_fd -1 flags 0x8
845 sys_perf_event_open: pid -1 cpu 1 group_fd -1 flags 0x8
846 sys_perf_event_open: pid -1 cpu 2 group_fd -1 flags 0x8
[all …]
H A Dtopdown.txt71 int cpu, int group_fd, unsigned long flags)
73 return syscall(__NR_perf_event_open, attr, pid, cpu, group_fd, flags);
/openbmc/linux/tools/perf/util/
H A Devsel.c2051 int fd, group_fd; in evsel__open_cpu() local
2059 group_fd = get_group_fd(evsel, idx, thread); in evsel__open_cpu()
2061 if (group_fd == -2) { in evsel__open_cpu()
2071 pid, perf_cpu_map__cpu(cpus, idx).cpu, group_fd, evsel->open_flags); in evsel__open_cpu()
2075 group_fd, evsel->open_flags); in evsel__open_cpu()
2092 fd, group_fd, evsel->open_flags); in evsel__open_cpu()
H A Dpython.c1517 int fd, int group_fd, unsigned long flags) in test_attr__open() argument
/openbmc/linux/tools/kvm/kvm_stat/
H A Dkvm_stat490 def _perf_event_open(self, attr, pid, cpu, group_fd, flags): argument
507 ctypes.c_int(group_fd), ctypes.c_long(flags))
/openbmc/linux/include/linux/
H A Dsyscalls.h829 pid_t pid, int cpu, int group_fd, unsigned long flags);
/openbmc/linux/tools/power/x86/turbostat/
H A Dturbostat.c657 static long perf_event_open(struct perf_event_attr *hw_event, pid_t pid, int cpu, int group_fd, uns… in perf_event_open() argument
659 return syscall(__NR_perf_event_open, hw_event, pid, cpu, group_fd, flags); in perf_event_open()
/openbmc/linux/kernel/events/
H A Dcore.c12415 pid_t, pid, int, cpu, int, group_fd, unsigned long, flags) in SYSCALL_DEFINE5() argument
12494 if (group_fd != -1) { in SYSCALL_DEFINE5()
12495 err = perf_fget_light(group_fd, &group); in SYSCALL_DEFINE5()

12