Home
last modified time | relevance | path

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

/Linux-v5.10/tools/perf/util/
Devlist.h378 int evlist__parse_control(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close);
379 void evlist__close_control(int ctl_fd, int ctl_fd_ack, bool *ctl_fd_close);
380 int evlist__initialize_ctlfd(struct evlist *evlist, int ctl_fd, int ctl_fd_ack);
Drecord.h75 int ctl_fd_ack; member
Devlist.c1735 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
1776 *ctl_fd_ack = fd; in evlist__parse_control_fifo()
1784 int evlist__parse_control(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close) in evlist__parse_control() argument
1791 return evlist__parse_control_fifo(str, ctl_fd, ctl_fd_ack, ctl_fd_close); in evlist__parse_control()
1802 *ctl_fd_ack = strtoul(comma + 1, &endptr, 0); in evlist__parse_control()
1810 void evlist__close_control(int ctl_fd, int ctl_fd_ack, bool *ctl_fd_close) in evlist__close_control() argument
1815 if (ctl_fd_ack >= 0) in evlist__close_control()
1816 close(ctl_fd_ack); in evlist__close_control()
Dstat.h146 int ctl_fd_ack; member
/Linux-v5.10/tools/perf/Documentation/
Dperf-stat.txt209 exec {ctl_fd_ack}<>${ctl_ack_fifo}
212 --control fd:${ctl_fd},${ctl_fd_ack} \
216 sleep 5 && echo 'enable' >&${ctl_fd} && read -u ${ctl_fd_ack} e1 && echo "enabled(${e1})"
217 sleep 10 && echo 'disable' >&${ctl_fd} && read -u ${ctl_fd_ack} d1 && echo "disabled(${d1})"
219 exec {ctl_fd_ack}>&-
Dperf-record.txt655 exec {ctl_fd_ack}<>${ctl_ack_fifo}
658 --control fd:${ctl_fd},${ctl_fd_ack} \
662 sleep 5 && echo 'enable' >&${ctl_fd} && read -u ${ctl_fd_ack} e1 && echo "enabled(${e1})"
663 sleep 10 && echo 'disable' >&${ctl_fd} && read -u ${ctl_fd_ack} d1 && echo "disabled(${d1})"
665 exec {ctl_fd_ack}>&-
/Linux-v5.10/tools/perf/
Dbuiltin-stat.c201 .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()
Dbuiltin-record.c1841 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()