summaryrefslogtreecommitdiff
path: root/tools/perf/util/record.h
diff options
context:
space:
mode:
authorAlexey Budankov <alexey.budankov@linux.intel.com>2020-07-17 10:08:23 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-08-04 08:50:52 -0300
commit1d078ccb33807546c73e07a79fca6a976b7ecac8 (patch)
treee25cff9bee245c7be52e00e748965c86835aee06 /tools/perf/util/record.h
parentacce02239420e38369df7a69687f000c6822460b (diff)
perf record: Introduce --control fd:ctl-fd[,ack-fd] options
Introduce --control fd:ctl-fd[,ack-fd] options to pass open file descriptors numbers from command line. Extend perf-record.txt file with --control fd:ctl-fd[,ack-fd] options description. Document possible usage model introduced by --control fd:ctl-fd[,ack-fd] options by providing example bash shell script. Signed-off-by: Alexey Budankov <alexey.budankov@linux.intel.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lore.kernel.org/lkml/8dc01e1a-3a80-3f67-5385-4bc7112b0dd3@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/record.h')
-rw-r--r--tools/perf/util/record.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/record.h b/tools/perf/util/record.h
index e9b3842ba25a..03678ff25539 100644
--- a/tools/perf/util/record.h
+++ b/tools/perf/util/record.h
@@ -71,6 +71,8 @@ struct record_opts {
int mmap_flush;
unsigned int comp_level;
unsigned int nr_threads_synthesize;
+ int ctl_fd;
+ int ctl_fd_ack;
};
extern const char * const *record_usage;