Home
last modified time | relevance | path

Searched refs:group_fd (Results 1 – 23 of 23) sorted by relevance

/tools/perf/
Dperf-sys.h16 int fd, int group_fd, unsigned long flags);
24 pid_t pid, int cpu, int group_fd, in sys_perf_event_open() argument
30 group_fd, flags); in sys_perf_event_open()
34 test_attr__open(attr, pid, cpu, fd, group_fd, flags); in sys_perf_event_open()
Ddesign.txt25 pid_t pid, int cpu, int group_fd,
265 The 'group_fd' parameter allows counter "groups" to be set up. A
267 is created first, with group_fd = -1 in the sys_perf_event_open call
269 subsequently, with group_fd giving the fd of the group leader.
270 (A single counter on its own is created with group_fd = -1 and is
/tools/testing/selftests/powerpc/pmu/ebb/
Dmulti_counter_test.c19 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()
/tools/testing/selftests/powerpc/pmu/
Devent.c17 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()
Devent.h30 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);
/tools/perf/tests/attr/
Dtest-stat-group18 group_fd=-1
13 group_fd=1
Dtest-stat-group8 group_fd=-1
13 group_fd=1
Dtest-record-group8 group_fd=-1
14 group_fd=1
Dtest-record-group18 group_fd=-1
14 group_fd=1
Dtest-record-group-sampling8 group_fd=-1
15 group_fd=1
Dbase-record3 group_fd=-1
Dbase-stat3 group_fd=-1
DREADME23 store 'fd' and 'group_fd' values to allow checking for groups.
/tools/perf/tests/
Dattr.c68 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()
Dattr.py291 group_fd = event['group_fd'];
292 if group_fd == '-1':
296 if (ievent['fd'] == group_fd):
/tools/testing/selftests/powerpc/
Dutils.c188 int cpu, int group_fd, unsigned long flags) in perf_event_open() argument
191 group_fd, flags); in perf_event_open()
211 unsigned long config, int group_fd) in perf_event_open_counter() argument
218 fd = perf_event_open(&event_attr, 0, -1, group_fd, 0); in perf_event_open_counter()
/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c38 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()
/tools/testing/selftests/powerpc/include/
Dutils.h39 unsigned long config, int group_fd);
/tools/perf/lib/
Devsel.c60 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()
/tools/perf/Documentation/
Dintel-pt.txt240 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8
241 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8
242 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8
243 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8
670 sys_perf_event_open: pid 31104 cpu 0 group_fd -1 flags 0x8
671 sys_perf_event_open: pid 31104 cpu 1 group_fd -1 flags 0x8
672 sys_perf_event_open: pid 31104 cpu 2 group_fd -1 flags 0x8
673 sys_perf_event_open: pid 31104 cpu 3 group_fd -1 flags 0x8
686 sys_perf_event_open: pid -1 cpu 0 group_fd -1 flags 0x8
687 sys_perf_event_open: pid -1 cpu 1 group_fd -1 flags 0x8
[all …]
/tools/perf/util/
Devsel.c1539 pid_t pid, int cpu, int group_fd, in perf_event_open() argument
1547 pid, cpu, group_fd, flags); in perf_event_open()
1549 fd = sys_perf_event_open(&evsel->core.attr, pid, cpu, group_fd, flags); in perf_event_open()
1656 int fd, group_fd; in evsel__open() local
1661 group_fd = get_group_fd(evsel, cpu, thread); in evsel__open()
1666 group_fd, flags); in evsel__open()
Dpython.c1387 int fd, int group_fd, unsigned long flags) in test_attr__open() argument
/tools/kvm/kvm_stat/
Dkvm_stat417 def _perf_event_open(self, attr, pid, cpu, group_fd, flags): argument
434 ctypes.c_int(group_fd), ctypes.c_long(flags))