/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | record.h | 76 bool ctl_fd_close; member
|
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 1774 *ctl_fd_close = true; 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 1796 *ctl_fd_close = false; in evlist__parse_control() 1799 return evlist__parse_control_fifo(str, ctl_fd, ctl_fd_ack, ctl_fd_close); 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 1820 if (*ctl_fd_close) { in evlist__close_control() 1821 *ctl_fd_close = false; in evlist__close_control()
|
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);
|
H A D | stat.h | 147 bool ctl_fd_close; member
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | record.h | 78 bool ctl_fd_close; member
|
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 1874 *ctl_fd_close = true; 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 1896 *ctl_fd_close = false; in evlist__parse_control() 1899 return evlist__parse_control_fifo(str, ctl_fd, ctl_fd_ack, ctl_fd_close); 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 1920 if (*ctl_fd_close) { in evlist__close_control() 1921 *ctl_fd_close = false; in evlist__close_control()
|
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);
|
H A D | stat.h | 114 bool ctl_fd_close; member
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-stat.c | 1060 return evlist__parse_control(str, &config->ctl_fd, &config->ctl_fd_ack, &config->ctl_fd_close); in parse_control_option() 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 | 2253 return evlist__parse_control(str, &opts->ctl_fd, &opts->ctl_fd_ack, &opts->ctl_fd_close); in parse_control_option() 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 | 1078 return evlist__parse_control(str, &config->ctl_fd, &config->ctl_fd_ack, &config->ctl_fd_close); in parse_control_option() 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 | 3102 return evlist__parse_control(str, &opts->ctl_fd, &opts->ctl_fd_ack, &opts->ctl_fd_close); in parse_control_option() 4202 evlist__close_control(rec->opts.ctl_fd, rec->opts.ctl_fd_ack, &rec->opts.ctl_fd_close); in cmd_record()
|