Home
last modified time | relevance | path

Searched refs:FILE (Results 1 – 25 of 349) sorted by relevance

12345678910>>...14

/tools/include/nolibc/
Dstdio.h33 typedef struct FILE { struct
35 } FILE; argument
37 static __attribute__((unused)) FILE* const stdin = (FILE*)(intptr_t)~STDIN_FILENO;
38 static __attribute__((unused)) FILE* const stdout = (FILE*)(intptr_t)~STDOUT_FILENO;
39 static __attribute__((unused)) FILE* const stderr = (FILE*)(intptr_t)~STDERR_FILENO;
43 FILE *fdopen(int fd, const char *mode __attribute__((unused))) in fdopen()
49 return (FILE*)(intptr_t)~fd; in fdopen()
54 int fileno(FILE *stream) in fileno()
67 int fflush(FILE *stream) in fflush()
83 int fclose(FILE *stream) in fclose()
[all …]
/tools/perf/util/
Devsel_fprintf.h18 int evsel__fprintf(struct evsel *evsel, struct perf_attr_details *details, FILE *fp);
39 struct strlist *bt_stop_list, FILE *fp);
44 struct strlist *bt_stop_list, FILE *fp);
46 typedef int (*attr__fprintf_f)(FILE *, const char *, const char *, void *);
48 int perf_event_attr__fprintf(FILE *fp, struct perf_event_attr *attr,
Dsymbol_fprintf.c10 size_t symbol__fprintf(struct symbol *sym, FILE *fp) in symbol__fprintf()
22 bool print_offsets, FILE *fp) in __symbol__fprintf_symname_offs()
45 FILE *fp) in symbol__fprintf_symname_offs()
52 bool unknown_as_addr, FILE *fp) in __symbol__fprintf_symname()
57 size_t symbol__fprintf_symname(const struct symbol *sym, FILE *fp) in symbol__fprintf_symname()
63 FILE *fp) in dso__fprintf_symbols_by_name()
Devent.h348 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp);
349 size_t perf_event__fprintf_mmap(union perf_event *event, FILE *fp);
350 size_t perf_event__fprintf_mmap2(union perf_event *event, FILE *fp);
351 size_t perf_event__fprintf_task(union perf_event *event, FILE *fp);
352 size_t perf_event__fprintf_aux(union perf_event *event, FILE *fp);
353 size_t perf_event__fprintf_itrace_start(union perf_event *event, FILE *fp);
354 size_t perf_event__fprintf_aux_output_hw_id(union perf_event *event, FILE *fp);
355 size_t perf_event__fprintf_switch(union perf_event *event, FILE *fp);
356 size_t perf_event__fprintf_thread_map(union perf_event *event, FILE *fp);
357 size_t perf_event__fprintf_cpu_map(union perf_event *event, FILE *fp);
[all …]
Dcolor.h39 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args);
40 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...);
42 int color_fwrite_lines(FILE *fp, const char *color, size_t count, const char *buf);
46 int percent_color_fprintf(FILE *fp, const char *fmt, double percent);
Dprint_insn.h16 struct machine *machine, FILE *fp, struct addr_location *al);
17 size_t sample__fprintf_insn_raw(struct perf_sample *sample, FILE *fp);
20 uint64_t ip, int *lenp, int print_opts, FILE *fp);
DPERF-VERSION-GEN8 GVF=${OUTPUT}PERF-VERSION-FILE
23 elif test -f ../../PERF-VERSION-FILE
25 TAG=$(cut -d' ' -f3 ../../PERF-VERSION-FILE | sed -e 's/\"//g')
Dbpf_map.h10 int bpf_map__fprintf(struct bpf_map *map, FILE *fp);
16 static inline int bpf_map__fprintf(struct bpf_map *map __maybe_unused, FILE *fp __maybe_unused) in bpf_map__fprintf()
Dsession.h166 size_t perf_session__fprintf(struct perf_session *session, FILE *fp);
168 size_t perf_session__fprintf_dsos(struct perf_session *session, FILE *fp);
170 size_t perf_session__fprintf_dsos_buildid(struct perf_session *session, FILE *fp,
173 size_t perf_session__fprintf_nr_events(struct perf_session *session, FILE *fp);
183 void perf_session__fprintf_info(struct perf_session *s, FILE *fp, bool full);
Dcolor.c39 static int __color_vfprintf(FILE *fp, const char *color, const char *fmt, in __color_vfprintf()
68 int color_vfprintf(FILE *fp, const char *color, const char *fmt, va_list args) in color_vfprintf()
85 int color_fprintf(FILE *fp, const char *color, const char *fmt, ...) in color_fprintf()
101 int color_fwrite_lines(FILE *fp, const char *color, in color_fwrite_lines()
142 int percent_color_fprintf(FILE *fp, const char *fmt, double percent) in percent_color_fprintf()
Dprint_insn.c20 size_t sample__fprintf_insn_raw(struct perf_sample *sample, FILE *fp) in sample__fprintf_insn_raw()
85 int print_opts, FILE *fp) in print_insn_x86()
124 uint64_t ip, int *lenp, int print_opts, FILE *fp) in fprintf_insn_asm()
155 struct machine *machine, FILE *fp, in sample__fprintf_insn_asm()
173 FILE *fp __maybe_unused, in sample__fprintf_insn_asm()
Dprint_binary.h22 unsigned int val, void *extra, FILE *fp);
26 void *extra, FILE *fp);
Ddata-convert-json.c36 FILE *out;
42 static void output_json_string(FILE *out, const char *s) in output_json_string()
73 static void output_json_delimiters(FILE *out, bool comma, int depth) in output_json_delimiters()
86 static void output_json_format(FILE *out, bool comma, int depth, const char *format, ...) in output_json_format()
97 static void output_json_key_string(FILE *out, bool comma, int depth, in output_json_key_string()
108 static void output_json_key_format(FILE *out, bool comma, int depth, in output_json_key_format()
125 FILE *out = c->out; in output_sample_callchain_entry()
156 FILE *out = c->out; in process_sample_event()
264 FILE *out = c->out; in output_headers()
Dbpf-event.h38 FILE *fp);
55 FILE *fp __maybe_unused) in __bpf_event__print_bpf_prog_info()
/tools/power/x86/intel-speed-select/
Disst.h221 FILE *get_output_file(void);
255 extern void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level,
257 extern void isst_ctdp_display_core_info(struct isst_id *id, FILE *outf, char *prefix,
259 extern void isst_ctdp_display_information_start(FILE *outf);
260 extern void isst_ctdp_display_information_end(FILE *outf);
261 extern void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level,
269 extern void isst_fact_display_information(struct isst_id *id, FILE *outf, int level,
284 extern void isst_clos_display_information(struct isst_id *id, FILE *outf, int clos,
286 extern void isst_clos_display_assoc_information(struct isst_id *id, FILE *outf, int clos);
288 extern void isst_display_result(struct isst_id *id, FILE *outf, char *feature, char *cmd,
[all …]
Disst-display.c84 static void format_and_print_txt(FILE *outf, int level, char *header, in format_and_print_txt()
112 static void format_and_print(FILE *outf, int level, char *header, char *value) in format_and_print()
169 static int print_package_info(struct isst_id *id, FILE *outf) in print_package_info()
210 static void _isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, in _isst_pbf_display_information()
253 static void _isst_fact_display_information(struct isst_id *id, FILE *outf, int level, in _isst_fact_display_information()
331 void isst_ctdp_display_core_info(struct isst_id *id, FILE *outf, char *prefix, in isst_ctdp_display_core_info()
350 void isst_ctdp_display_information(struct isst_id *id, FILE *outf, int tdp_level, in isst_ctdp_display_information()
560 void isst_ctdp_display_information_start(FILE *outf) in isst_ctdp_display_information_start()
567 void isst_ctdp_display_information_end(FILE *outf) in isst_ctdp_display_information_end()
573 void isst_pbf_display_information(struct isst_id *id, FILE *outf, int level, in isst_pbf_display_information()
[all …]
/tools/testing/selftests/bpf/prog_tests/
Duprobe.c7 static FILE *urand_spawn(int *pid) in urand_spawn()
9 FILE *f; in urand_spawn()
25 static int urand_trigger(FILE **urand_pipe) in urand_trigger()
40 FILE *urand_pipe = NULL; in test_uprobe()
/tools/bpf/
Dbpf_asm.c26 extern void bpf_asm_compile(FILE *fp, bool cstyle);
30 FILE *fp = stdin; in main()
/tools/power/cpupower/bench/
Dparse.h29 FILE *output; /* logfile */
36 FILE *prepare_output(const char *dir);
/tools/perf/ui/stdio/
Dhist.c22 static size_t callchain__fprintf_left_margin(FILE *fp, int left_margin) in callchain__fprintf_left_margin()
33 static size_t ipchain__fprintf_graph_line(FILE *fp, int depth, int depth_mask, in ipchain__fprintf_graph_line()
50 static size_t ipchain__fprintf_graph(FILE *fp, struct callchain_node *node, in ipchain__fprintf_graph()
109 static size_t __callchain__fprintf_graph(FILE *fp, struct rb_root *root, in __callchain__fprintf_graph()
217 static size_t callchain__fprintf_graph(FILE *fp, struct rb_root *root, in callchain__fprintf_graph()
282 static size_t __callchain__fprintf_flat(FILE *fp, struct callchain_node *node, in __callchain__fprintf_flat()
305 static size_t callchain__fprintf_flat(FILE *fp, struct rb_root *tree, in callchain__fprintf_flat()
330 static size_t __callchain__fprintf_folded(FILE *fp, struct callchain_node *node) in __callchain__fprintf_folded()
356 static size_t callchain__fprintf_folded(FILE *fp, struct rb_root *tree, in callchain__fprintf_folded()
383 FILE *fp) in hist_entry_callchain__fprintf()
[all …]
/tools/perf/util/intel-pt-decoder/
Dintel-pt-log.c32 FILE *backend;
35 static FILE *f;
128 static FILE *log_buf__open(struct log_buf *b, FILE *backend, unsigned int sz) in log_buf__open()
134 FILE *file; in log_buf__open()
158 static void write_lines(const char *p, size_t n, FILE *fp, bool *remove_first) in write_lines()
/tools/bpf/bpftool/Documentation/
Dbpftool-prog.rst31 | **bpftool** **prog dump xlated** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] [**visual*…
32 | **bpftool** **prog dump jited** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] }]
33 | **bpftool** **prog pin** *PROG* *FILE*
38 …*prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ctx_in** *F…
42 | *MAP* := { **id** *MAP_ID* | **pinned** *FILE* | **name** *MAP_NAME* }
43 | *PROG* := { **id** *PROG_ID* | **pinned** *FILE* | **tag** *PROG_TAG* | **name** *PROG_NAME* }
90 bpftool prog dump xlated *PROG* [{ file *FILE* | [opcodes] [linum] [visual] }]
101 *FILE*.
111 bpftool prog dump jited *PROG* [{ file *FILE* | [opcodes] [linum] }]
114 If *FILE* is specified image will be written to a file, otherwise it will
[all …]
Dbpftool-link.rst27 | **bpftool** **link pin** *LINK* *FILE*
31 | *LINK* := { **id** *LINK_ID* | **pinned** *FILE* }
48 bpftool link pin *LINK* *FILE*
49 Pin link *LINK* as *FILE*.
51 Note: *FILE* must be located in *bpffs* mount. It must not contain a dot
/tools/testing/selftests/resctrl/
Dresctrlfs.c18 FILE *mounts; in find_resctrl_mount()
134 FILE *fp; in get_domain_id()
171 FILE *fp; in get_cache_size()
228 FILE *fp; in get_bit_mask()
267 FILE *fp; in resource_info_unsigned_get()
501 FILE *fp; in write_pid_to_tasks()
652 FILE *inf = fopen("/proc/filesystems", "r"); in check_resctrlfs_support()
687 char *fgrep(FILE *inf, const char *str) in fgrep()
744 FILE *inf; in resctrl_mon_feature_exists()
794 FILE *fp; in filter_dmesg()
/tools/testing/selftests/mm/
Dmlock2.h12 static FILE *seek_to_smaps_entry(unsigned long addr) in seek_to_smaps_entry()
14 FILE *file; in seek_to_smaps_entry()

12345678910>>...14