Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Devlist.h660 int evlist__parse_control(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close);
661 void evlist__close_control(int ctl_fd, int ctl_fd_ack, bool *ctl_fd_close);
662 int evlist__initialize_ctlfd(struct evlist *evlist, int ctl_fd, int ctl_fd_ack);
H A Drecord.h80 int ctl_fd_ack; member
H A Devlist.c2048 static int evlist__parse_control_fifo(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close)
2089 *ctl_fd_ack = fd; in evlist__ctlfd_recv()
2097 int evlist__parse_control(const char *str, int *ctl_fd, int *ctl_fd_ack, bool *ctl_fd_close) in evlist__ctlfd_recv()
2105 return evlist__parse_control_fifo(str, ctl_fd, ctl_fd_ack, ctl_fd_close); in evlist__ctlfd_recv()
2116 *ctl_fd_ack = strtoul(comma + 1, &endptr, 0); in evlist__ctlfd_recv()
2124 void evlist__close_control(int ctl_fd, int ctl_fd_ack, bool *ctl_fd_close) in evlist__ctlfd_recv()
2129 if (ctl_fd_ack >= 0) in evlist__ctlfd_ack()
2130 close(ctl_fd_ack); in evlist__ctlfd_ack()
1936 evlist__parse_control_fifo(const char * str,int * ctl_fd,int * ctl_fd_ack,bool * ctl_fd_close) evlist__parse_control_fifo() argument
1985 evlist__parse_control(const char * str,int * ctl_fd,int * ctl_fd_ack,bool * ctl_fd_close) evlist__parse_control() argument
2012 evlist__close_control(int ctl_fd,int ctl_fd_ack,bool * ctl_fd_close) evlist__close_control() argument
H A Dstat.h106 int ctl_fd_ack;
105 int ctl_fd_ack; global() member
H A Dconfig.c53 .ctl_fd_ack = -1,
H A Dpython.c3087 .ctl_fd_ack = -1,
/linux/tools/perf/bench/
H A Devlist-open-close.c47 .ctl_fd_ack = -1,
/linux/tools/perf/Documentation/
H A Dperf-stat.txt249 exec {ctl_fd_ack}<>${ctl_ack_fifo}
252 --control fd:${ctl_fd},${ctl_fd_ack} \
256 sleep 5 && echo 'enable' >&${ctl_fd} && read -u ${ctl_fd_ack} e1 && echo "enabled(${e1})"
257 sleep 10 && echo 'disable' >&${ctl_fd} && read -u ${ctl_fd_ack} d1 && echo "disabled(${d1})"
259 exec {ctl_fd_ack}>&-
H A Dperf-record.txt780 exec {ctl_fd_ack}<>${ctl_ack_fifo}
783 --control fd:${ctl_fd},${ctl_fd_ack} \
787 sleep 5 && echo 'enable' >&${ctl_fd} && read -u ${ctl_fd_ack} e1 && echo "enabled(${e1})"
788 sleep 10 && echo 'disable' >&${ctl_fd} && read -u ${ctl_fd_ack} d1 && echo "disabled(${d1})"
790 exec {ctl_fd_ack}>&-
/linux/tools/perf/
H A Dbuiltin-stat.c1184 return evlist__parse_control(str, &config->ctl_fd, &config->ctl_fd_ack, &config->ctl_fd_close); in parse_stat_cgroups()
3016 if (evlist__initialize_ctlfd(evsel_list, stat_config.ctl_fd, stat_config.ctl_fd_ack)) in cmd_stat()
3099 evlist__close_control(stat_config.ctl_fd, stat_config.ctl_fd_ack, &stat_config.ctl_fd_close);
H A Dbuiltin-record.c1306 if (evlist__initialize_ctlfd(evlist, opts->ctl_fd, opts->ctl_fd_ack)) in record__mmap_evlist()
3261 return evlist__parse_control(str, &opts->ctl_fd, &opts->ctl_fd_ack, &opts->ctl_fd_close); in record__parse_off_cpu_thresh()
3442 .ctl_fd_ack = -1,
4419 evlist__close_control(rec->opts.ctl_fd, rec->opts.ctl_fd_ack, &rec->opts.ctl_fd_close); in cmd_record()