Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 165) sorted by relevance

1234567

/tools/perf/util/intel-pt-decoder/
Dintel-pt-pkt-decoder.c74 static int intel_pt_get_long_tnt(const unsigned char *buf, size_t len, in intel_pt_get_long_tnt()
97 static int intel_pt_get_pip(const unsigned char *buf, size_t len, in intel_pt_get_pip()
120 static int intel_pt_get_cbr(const unsigned char *buf, size_t len, in intel_pt_get_cbr()
130 static int intel_pt_get_vmcs(const unsigned char *buf, size_t len, in intel_pt_get_vmcs()
154 static int intel_pt_get_psb(const unsigned char *buf, size_t len, in intel_pt_get_psb()
177 static int intel_pt_get_tma(const unsigned char *buf, size_t len, in intel_pt_get_tma()
195 static int intel_pt_get_mnt(const unsigned char *buf, size_t len, in intel_pt_get_mnt()
206 static int intel_pt_get_3byte(const unsigned char *buf, size_t len, in intel_pt_get_3byte()
220 static int intel_pt_get_ext(const unsigned char *buf, size_t len, in intel_pt_get_ext()
270 static int intel_pt_get_cyc(unsigned int byte, const unsigned char *buf, in intel_pt_get_cyc()
[all …]
Dintel-pt-insn-decoder.c159 int intel_pt_get_insn(const unsigned char *buf, size_t len, int x86_64, in intel_pt_get_insn()
194 int intel_pt_insn_desc(const struct intel_pt_insn *intel_pt_insn, char *buf, in intel_pt_insn_desc()
/tools/perf/util/
Dtrace-event-read.c45 static int __do_read(int fd, void *buf, int size) in __do_read()
90 char buf[BUFSIZ]; in skip() local
120 char buf[BUFSIZ]; in read_string() local
188 char *buf; in read_ftrace_printk() local
214 char buf[BUFSIZ]; in read_header_files() local
263 char *buf; in read_ftrace_file() local
282 char *buf; in read_event_file() local
346 char buf[BUFSIZ]; in trace_report() local
Dbpf-loader.h139 __bpf_strerror(char *buf, size_t size) in __bpf_strerror()
154 char *buf, size_t size) in bpf__strerror_prepare_load()
162 char *buf, size_t size) in bpf__strerror_probe()
169 char *buf, size_t size) in bpf__strerror_load()
180 char *buf, size_t size) in bpf__strerror_config_obj()
187 char *buf, size_t size) in bpf__strerror_apply_obj_config()
194 int err __maybe_unused, char *buf, in bpf__strerror_setup_stdout()
Dtarget.c72 char buf[1024]; in target__parse_uid() local
117 char *buf, size_t buflen) in target__strerror()
Dprobe-file.c75 char buf[PATH_MAX]; in open_probe_events() local
137 char buf[MAX_CMDLEN]; in probe_file__get_rawlist() local
186 char buf[128]; in __probe_file__get_namelist() local
230 char *buf = synthesize_probe_trace_command(tev); in probe_file__add_event() local
254 char buf[128]; in __del_trace_probe_event() local
465 char buf[MAX_CMDLEN], *p; in probe_cache__load() local
695 char *buf; in probe_cache__scan_sdt() local
811 char buf[128], *ptr = entry->spev; in probe_cache_entry__compare() local
853 char *buf = strfilter__string(filter); in probe_cache__show_all_caches() local
898 char *buf = NULL; in probe_type_is_available() local
Ddemangle-java.c42 __demangle_java_sym(const char *str, const char *end, char *buf, int maxlen, int mode) in __demangle_java_sym()
156 char *buf, *ptr; in java_demangle_sym() local
/tools/perf/arch/arm/tests/
Ddwarf-unwind.c17 u64 stack_size, *buf; in sample_ustack() local
47 u64 *buf; in test__arch_unwind_sample() local
/tools/perf/arch/x86/tests/
Ddwarf-unwind.c18 u64 stack_size, *buf; in sample_ustack() local
48 u64 *buf; in test__arch_unwind_sample() local
/tools/perf/arch/powerpc/tests/
Ddwarf-unwind.c18 u64 stack_size, *buf; in sample_ustack() local
48 u64 *buf; in test__arch_unwind_sample() local
/tools/lib/
Dvsprintf.c5 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) in vscnprintf()
13 int scnprintf(char * buf, size_t size, const char * fmt, ...) in scnprintf()
Dstr_error_r.c20 char *str_error_r(int errnum, char *buf, size_t buflen) in str_error_r()
/tools/perf/arch/arm64/tests/
Ddwarf-unwind.c17 u64 stack_size, *buf; in sample_ustack() local
47 u64 *buf; in test__arch_unwind_sample() local
/tools/testing/selftests/timers/
Dclocksource-switch.c55 char buf[512]; in get_clocksources() local
86 int get_cur_clocksource(char *buf, size_t size) in get_cur_clocksource()
120 char buf[255]; in run_tests() local
/tools/perf/arch/
Dcommon.c83 char buf[PATH_MAX]; in lookup_path() local
109 char buf[PATH_MAX]; in lookup_triplets() local
156 char *buf = NULL; in perf_env__lookup_binutils_path() local
/tools/vm/
Dpage_owner_sort.c31 int read_block(char *buf, int buf_size, FILE *fin) in read_block()
58 static void add_list(char *buf, int len) in add_list()
87 char *buf; in main() local
Dpage-types.c262 uint64_t *buf, in do_u64_read()
282 static unsigned long kpageflags_read(uint64_t *buf, in kpageflags_read()
289 static unsigned long kpagecgroup_read(uint64_t *buf, in kpagecgroup_read()
299 static unsigned long pagemap_read(uint64_t *buf, in pagemap_read()
329 static char buf[65]; in page_flag_name() local
348 static char buf[1024]; in page_flag_longname() local
519 char buf[MAX_PATH + 1]; in prepare_hwpoison_fd() local
542 char buf[100]; in hwpoison_page() local
556 char buf[100]; in unpoison_page() local
630 uint64_t buf[KPAGEFLAGS_BATCH]; in walk_pfn() local
[all …]
/tools/testing/selftests/ia64/
Daliasing-test.c70 struct stat buf; in scan_tree() local
120 char buf[1024]; variable
155 struct stat buf; in scan_rom() local
/tools/perf/ui/gtk/
Dhists.c18 char *buf = hpp->buf; in __percent_color_snprintf() local
112 char buf[128]; in perf_gtk__add_callchain_flat() local
133 char buf[128]; in perf_gtk__add_callchain_flat() local
164 char buf[64]; in perf_gtk__add_callchain_folded() local
234 char buf[128]; in perf_gtk__add_callchain_graph() local
468 char buf[32]; in perf_gtk__add_hierarchy_entries() local
503 char buf[512]; in perf_gtk__show_hierarchy() local
635 char buf[512]; in perf_evlist__gtk_browse_hists() local
/tools/testing/selftests/memfd/
Dfuse_mnt.c45 void *buf, in memfd_readdir()
75 char *buf, in memfd_read()
/tools/perf/tests/
Ddso-data.c21 unsigned char *buf; in test_file() local
133 u8 buf[10]; in test__dso_data() local
147 u8 *buf; in test__dso_data() local
280 u8 buf[BUFSIZE]; in test__dso_data_cache() local
Dcode-reading.c36 static size_t read_objdump_chunk(const char **line, unsigned char **buf, in read_objdump_chunk()
89 static size_t read_objdump_line(const char *line, unsigned char *buf, in read_objdump_line()
118 static int read_objdump_output(FILE *f, void *buf, size_t *len, u64 start_addr) in read_objdump_output()
170 static int read_via_objdump(const char *filename, u64 addr, void *buf, in read_via_objdump()
207 static void dump_buf(unsigned char *buf, size_t len) in dump_buf()
403 int buf[40960], i; in do_sort_something() local
/tools/spi/
Dspidev_fdx.c19 unsigned char buf[32], *bp; in do_read() local
51 unsigned char buf[32], *bp; in do_msg() local
/tools/testing/selftests/efivarfs/
Dcreate-read.c14 char buf[4]; in main() local
/tools/testing/selftests/x86/
Dmpx-mini-test.c53 char buf[100]; in write_int_to() local
1026 static __always_inline void mpx_test_helper0(uint8_t *buf, uint8_t *ptr) in mpx_test_helper0()
1031 static __always_inline void mpx_test_helper0_shadow(uint8_t *buf, uint8_t *ptr) in mpx_test_helper0_shadow()
1036 static __always_inline void mpx_test_helper1(uint8_t *buf, uint8_t *ptr) in mpx_test_helper1()
1046 static __always_inline void mpx_test_helper1_shadow(uint8_t *buf, uint8_t *ptr) in mpx_test_helper1_shadow()
1052 static __always_inline void mpx_test_helper2(uint8_t *buf, uint8_t *ptr) in mpx_test_helper2()
1060 static __always_inline void mpx_test_helper2_shadow(uint8_t *buf, uint8_t *ptr) in mpx_test_helper2_shadow()
1068 static __always_inline void mpx_test_helper3(uint8_t *buf, uint8_t *ptr) in mpx_test_helper3()
1073 static __always_inline void mpx_test_helper3_shadow(uint8_t *buf, uint8_t *ptr) in mpx_test_helper3_shadow()
1078 static __always_inline void mpx_test_helper4(uint8_t *buf, uint8_t *ptr) in mpx_test_helper4()
[all …]

1234567