Home
last modified time | relevance | path

Searched refs:readwrite (Results 1 – 2 of 2) sorted by relevance

/tools/perf/util/
Dprobe-file.c35 static bool print_common_warning(int err, bool readwrite) in print_common_warning() argument
39 readwrite ? "write" : "read", in print_common_warning()
40 readwrite ? "run this command again with sudo." : in print_common_warning()
74 static void print_open_warning(int err, bool uprobe, bool readwrite) in print_open_warning() argument
78 if (print_common_warning(err, readwrite)) in print_open_warning()
89 static void print_both_open_warning(int kerr, int uerr, bool readwrite) in print_both_open_warning() argument
93 if (kerr == uerr && print_common_warning(kerr, readwrite)) in print_both_open_warning()
109 int open_trace_file(const char *trace_file, bool readwrite) in open_trace_file() argument
116 pr_debug("Opening %s write=%d\n", buf, readwrite); in open_trace_file()
117 if (readwrite && !probe_event_dry_run) in open_trace_file()
[all …]
Dprobe-file.h40 int open_trace_file(const char *trace_file, bool readwrite);