/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | record.h | 75 int ctl_fd_ack; member
|
H A D | evlist.h | 382 int evlist__parse_control(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close); 383 void evlist__close_control(int ctl_fd, int ctl_fd_ack, bool *ctl_fd_close); 384 int evlist__initialize_ctlfd(struct evlist *evlist, int ctl_fd, int ctl_fd_ack);
|
H A D | evlist.c | 1743 static int evlist__parse_control_fifo(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close) in evlist__parse_control_fifo() argument 1784 *ctl_fd_ack = fd; in evlist__parse_control_fifo() 1792 int evlist__parse_control(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close) in evlist__parse_control() argument 1799 return evlist__parse_control_fifo(str, ctl_fd, ctl_fd_ack, ctl_fd_close); in evlist__parse_control() 1810 *ctl_fd_ack = strtoul(comma + 1, &endptr, 0); in evlist__parse_control() 1818 void evlist__close_control(int ctl_fd, int ctl_fd_ack, bool *ctl_fd_close) in evlist__close_control() argument 1823 if (ctl_fd_ack >= 0) in evlist__close_control() 1824 close(ctl_fd_ack); in evlist__close_control()
|
H A D | stat.h | 146 int ctl_fd_ack; member
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | record.h | 77 int ctl_fd_ack; member
|
H A D | evlist.h | 422 int evlist__parse_control(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close); 423 void evlist__close_control(int ctl_fd, int ctl_fd_ack, bool *ctl_fd_close); 424 int evlist__initialize_ctlfd(struct evlist *evlist, int ctl_fd, int ctl_fd_ack);
|
H A D | evlist.c | 1843 static int evlist__parse_control_fifo(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close) in evlist__parse_control_fifo() argument 1884 *ctl_fd_ack = fd; in evlist__parse_control_fifo() 1892 int evlist__parse_control(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close) in evlist__parse_control() argument 1899 return evlist__parse_control_fifo(str, ctl_fd, ctl_fd_ack, ctl_fd_close); in evlist__parse_control() 1910 *ctl_fd_ack = strtoul(comma + 1, &endptr, 0); in evlist__parse_control() 1918 void evlist__close_control(int ctl_fd, int ctl_fd_ack, bool *ctl_fd_close) in evlist__close_control() argument 1923 if (ctl_fd_ack >= 0) in evlist__close_control() 1924 close(ctl_fd_ack); in evlist__close_control()
|
H A D | stat.h | 113 int ctl_fd_ack; member
|
/kernel/linux/linux-6.6/tools/perf/bench/ |
H A D | evlist-open-close.c | 46 .ctl_fd_ack = -1,
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-stat.c | 201 .ctl_fd_ack = -1 1060 return evlist__parse_control(str, &config->ctl_fd, &config->ctl_fd_ack, &config->ctl_fd_close); in parse_control_option() 2336 if (evlist__initialize_ctlfd(evsel_list, stat_config.ctl_fd, stat_config.ctl_fd_ack)) in cmd_stat() 2408 evlist__close_control(stat_config.ctl_fd, stat_config.ctl_fd_ack, &stat_config.ctl_fd_close); in cmd_stat()
|
H A D | builtin-record.c | 1841 if (evlist__initialize_ctlfd(rec->evlist, opts->ctl_fd, opts->ctl_fd_ack)) in __cmd_record() 2253 return evlist__parse_control(str, &opts->ctl_fd, &opts->ctl_fd_ack, &opts->ctl_fd_close); in parse_control_option() 2393 .ctl_fd_ack = -1, 2842 evlist__close_control(rec->opts.ctl_fd, rec->opts.ctl_fd_ack, &rec->opts.ctl_fd_close); in cmd_record()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-stat.c | 163 .ctl_fd_ack = -1, 1078 return evlist__parse_control(str, &config->ctl_fd, &config->ctl_fd_ack, &config->ctl_fd_close); in parse_control_option() 2817 if (evlist__initialize_ctlfd(evsel_list, stat_config.ctl_fd, stat_config.ctl_fd_ack)) in cmd_stat() 2898 evlist__close_control(stat_config.ctl_fd, stat_config.ctl_fd_ack, &stat_config.ctl_fd_close); in cmd_stat()
|
H A D | builtin-record.c | 1251 if (evlist__initialize_ctlfd(evlist, opts->ctl_fd, opts->ctl_fd_ack)) in record__mmap_evlist() 3102 return evlist__parse_control(str, &opts->ctl_fd, &opts->ctl_fd_ack, &opts->ctl_fd_close); in parse_control_option() 3283 .ctl_fd_ack = -1, 4202 evlist__close_control(rec->opts.ctl_fd, rec->opts.ctl_fd_ack, &rec->opts.ctl_fd_close); in cmd_record()
|