Home
last modified time | relevance | path

Searched refs:ctl_fd_ack (Results 1 – 9 of 9) sorted by relevance

/tools/perf/util/
Drecord.h78 int ctl_fd_ack; member
Devlist.h406 int evlist__parse_control(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close);
407 void evlist__close_control(int ctl_fd, int ctl_fd_ack, bool *ctl_fd_close);
408 int evlist__initialize_ctlfd(struct evlist *evlist, int ctl_fd, int ctl_fd_ack);
Devlist.c1791 static int evlist__parse_control_fifo(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_c… in evlist__parse_control_fifo() argument
1832 *ctl_fd_ack = fd; in evlist__parse_control_fifo()
1840 int evlist__parse_control(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close) in evlist__parse_control() argument
1847 return evlist__parse_control_fifo(str, ctl_fd, ctl_fd_ack, ctl_fd_close); in evlist__parse_control()
1858 *ctl_fd_ack = strtoul(comma + 1, &endptr, 0); in evlist__parse_control()
1866 void evlist__close_control(int ctl_fd, int ctl_fd_ack, bool *ctl_fd_close) in evlist__close_control() argument
1871 if (ctl_fd_ack >= 0) in evlist__close_control()
1872 close(ctl_fd_ack); in evlist__close_control()
Dstat.h157 int ctl_fd_ack; member
/tools/perf/bench/
Devlist-open-close.c41 .ctl_fd_ack = -1,
/tools/perf/Documentation/
Dperf-stat.txt244 exec {ctl_fd_ack}<>${ctl_ack_fifo}
247 --control fd:${ctl_fd},${ctl_fd_ack} \
251 sleep 5 && echo 'enable' >&${ctl_fd} && read -u ${ctl_fd_ack} e1 && echo "enabled(${e1})"
252 sleep 10 && echo 'disable' >&${ctl_fd} && read -u ${ctl_fd_ack} d1 && echo "disabled(${d1})"
254 exec {ctl_fd_ack}>&-
Dperf-record.txt679 exec {ctl_fd_ack}<>${ctl_ack_fifo}
682 --control fd:${ctl_fd},${ctl_fd_ack} \
686 sleep 5 && echo 'enable' >&${ctl_fd} && read -u ${ctl_fd_ack} e1 && echo "enabled(${e1})"
687 sleep 10 && echo 'disable' >&${ctl_fd} && read -u ${ctl_fd_ack} d1 && echo "disabled(${d1})"
689 exec {ctl_fd_ack}>&-
/tools/perf/
Dbuiltin-stat.c221 .ctl_fd_ack = -1,
1140 return evlist__parse_control(str, &config->ctl_fd, &config->ctl_fd_ack, &config->ctl_fd_close); in parse_control_option()
2515 if (evlist__initialize_ctlfd(evsel_list, stat_config.ctl_fd, stat_config.ctl_fd_ack)) in cmd_stat()
2591 evlist__close_control(stat_config.ctl_fd, stat_config.ctl_fd_ack, &stat_config.ctl_fd_close); in cmd_stat()
Dbuiltin-record.c1848 if (evlist__initialize_ctlfd(rec->evlist, opts->ctl_fd, opts->ctl_fd_ack)) in __cmd_record()
2267 return evlist__parse_control(str, &opts->ctl_fd, &opts->ctl_fd_ack, &opts->ctl_fd_close); in parse_control_option()
2418 .ctl_fd_ack = -1,
2912 evlist__close_control(rec->opts.ctl_fd, rec->opts.ctl_fd_ack, &rec->opts.ctl_fd_close); in cmd_record()