Home
last modified time | relevance | path

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

/tools/perf/util/
A Drecord.h78 int ctl_fd_ack; member
A Devlist.h423 int evlist__parse_control(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close);
424 void evlist__close_control(int ctl_fd, int ctl_fd_ack, bool *ctl_fd_close);
425 int evlist__initialize_ctlfd(struct evlist *evlist, int ctl_fd, int ctl_fd_ack);
A Dstat.h111 int ctl_fd_ack; member
A Devlist.c1888 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
1929 *ctl_fd_ack = fd; in evlist__parse_control_fifo()
1937 int evlist__parse_control(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close) in evlist__parse_control() argument
1944 return evlist__parse_control_fifo(str, ctl_fd, ctl_fd_ack, ctl_fd_close); in evlist__parse_control()
1955 *ctl_fd_ack = strtoul(comma + 1, &endptr, 0); in evlist__parse_control()
1963 void evlist__close_control(int ctl_fd, int ctl_fd_ack, bool *ctl_fd_close) in evlist__close_control() argument
1968 if (ctl_fd_ack >= 0) in evlist__close_control()
1969 close(ctl_fd_ack); in evlist__close_control()
A Dconfig.c51 .ctl_fd_ack = -1,
A Dpython.c1290 .ctl_fd_ack = -1, in pyrf_evlist__config()
/tools/perf/bench/
A Devlist-open-close.c46 .ctl_fd_ack = -1,
/tools/perf/Documentation/
A Dperf-stat.txt246 exec {ctl_fd_ack}<>${ctl_ack_fifo}
249 --control fd:${ctl_fd},${ctl_fd_ack} \
253 sleep 5 && echo 'enable' >&${ctl_fd} && read -u ${ctl_fd_ack} e1 && echo "enabled(${e1})"
254 sleep 10 && echo 'disable' >&${ctl_fd} && read -u ${ctl_fd_ack} d1 && echo "disabled(${d1})"
256 exec {ctl_fd_ack}>&-
A Dperf-record.txt775 exec {ctl_fd_ack}<>${ctl_ack_fifo}
778 --control fd:${ctl_fd},${ctl_fd_ack} \
782 sleep 5 && echo 'enable' >&${ctl_fd} && read -u ${ctl_fd_ack} e1 && echo "enabled(${e1})"
783 sleep 10 && echo 'disable' >&${ctl_fd} && read -u ${ctl_fd_ack} d1 && echo "disabled(${d1})"
785 exec {ctl_fd_ack}>&-
/tools/perf/
A Dbuiltin-stat.c1094 return evlist__parse_control(str, &config->ctl_fd, &config->ctl_fd_ack, &config->ctl_fd_close); in parse_control_option()
2854 if (evlist__initialize_ctlfd(evsel_list, stat_config.ctl_fd, stat_config.ctl_fd_ack)) in cmd_stat()
2937 evlist__close_control(stat_config.ctl_fd, stat_config.ctl_fd_ack, &stat_config.ctl_fd_close); in cmd_stat()
A Dbuiltin-record.c1354 if (evlist__initialize_ctlfd(evlist, opts->ctl_fd, opts->ctl_fd_ack)) in record__mmap_evlist()
3239 return evlist__parse_control(str, &opts->ctl_fd, &opts->ctl_fd_ack, &opts->ctl_fd_close); in parse_control_option()
3420 .ctl_fd_ack = -1,
4383 evlist__close_control(rec->opts.ctl_fd, rec->opts.ctl_fd_ack, &rec->opts.ctl_fd_close); in cmd_record()

Completed in 33 milliseconds