/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-pkt-decoder.c | 76 static int intel_pt_get_long_tnt(const unsigned char *buf, size_t len, in intel_pt_get_long_tnt() 99 static int intel_pt_get_pip(const unsigned char *buf, size_t len, in intel_pt_get_pip() 122 static int intel_pt_get_cbr(const unsigned char *buf, size_t len, in intel_pt_get_cbr() 132 static int intel_pt_get_vmcs(const unsigned char *buf, size_t len, in intel_pt_get_vmcs() 156 static int intel_pt_get_psb(const unsigned char *buf, size_t len, in intel_pt_get_psb() 179 static int intel_pt_get_tma(const unsigned char *buf, size_t len, in intel_pt_get_tma() 197 static int intel_pt_get_mnt(const unsigned char *buf, size_t len, in intel_pt_get_mnt() 208 static int intel_pt_get_3byte(const unsigned char *buf, size_t len, in intel_pt_get_3byte() 222 static int intel_pt_get_ptwrite(const unsigned char *buf, size_t len, in intel_pt_get_ptwrite() 257 static int intel_pt_get_mwait(const unsigned char *buf, size_t len, in intel_pt_get_mwait() [all …]
|
D | intel-pt-insn-decoder.c | 157 int intel_pt_get_insn(const unsigned char *buf, size_t len, int x86_64, in intel_pt_get_insn() 174 int arch_is_branch(const unsigned char *buf, size_t len, int x86_64) in arch_is_branch() 223 int intel_pt_insn_desc(const struct intel_pt_insn *intel_pt_insn, char *buf, in intel_pt_insn_desc()
|
/tools/testing/selftests/cgroup/ |
D | cgroup_util.c | 19 static ssize_t read_text(const char *path, char *buf, size_t max_len) in read_text() 38 static ssize_t write_text(const char *path, char *buf, ssize_t len) in write_text() 87 int cg_read(const char *cgroup, const char *control, char *buf, size_t len) in cg_read() 103 char *buf; in cg_read_strcmp() local 128 char buf[PAGE_SIZE]; in cg_read_strstr() local 138 char buf[128]; in cg_read_long() local 148 char buf[PAGE_SIZE]; in cg_read_key_long() local 161 int cg_write(const char *cgroup, const char *control, char *buf) in cg_write() 176 char buf[10 * PAGE_SIZE]; in cg_find_unified_root() local 210 char buf[10 * PAGE_SIZE] = {0}; in cg_wait_for_proc_count() local [all …]
|
/tools/perf/util/ |
D | arm-spe-pkt-decoder.c | 85 static int arm_spe_get_payload(const unsigned char *buf, size_t len, in arm_spe_get_payload() 112 static int arm_spe_get_alignment(const unsigned char *buf, size_t len, in arm_spe_get_alignment() 130 static int arm_spe_get_timestamp(const unsigned char *buf, size_t len, in arm_spe_get_timestamp() 137 static int arm_spe_get_events(const unsigned char *buf, size_t len, in arm_spe_get_events() 154 static int arm_spe_get_data_source(const unsigned char *buf, size_t len, in arm_spe_get_data_source() 161 static int arm_spe_get_context(const unsigned char *buf, size_t len, in arm_spe_get_context() 170 static int arm_spe_get_op_type(const unsigned char *buf, size_t len, in arm_spe_get_op_type() 178 static int arm_spe_get_counter(const unsigned char *buf, size_t len, in arm_spe_get_counter() 195 static int arm_spe_get_addr(const unsigned char *buf, size_t len, in arm_spe_get_addr() 212 static int arm_spe_do_get_packet(const unsigned char *buf, size_t len, in arm_spe_do_get_packet() [all …]
|
D | trace-event-read.c | 26 static int __do_read(int fd, void *buf, int size) in __do_read() 71 char buf[BUFSIZ]; in skip() local 101 char buf[BUFSIZ]; in read_string() local 169 char *buf; in read_ftrace_printk() local 197 char buf[BUFSIZ]; in read_header_files() local 247 char *buf; in read_ftrace_file() local 273 char *buf; in read_event_file() local 345 char *buf; in read_saved_cmdline() local 375 char buf[BUFSIZ]; in trace_report() local
|
D | bpf-loader.h | 147 __bpf_strerror(char *buf, size_t size) in __bpf_strerror() 162 char *buf, size_t size) in bpf__strerror_prepare_load() 170 char *buf, size_t size) in bpf__strerror_probe() 177 char *buf, size_t size) in bpf__strerror_load() 188 char *buf, size_t size) in bpf__strerror_config_obj() 195 char *buf, size_t size) in bpf__strerror_apply_obj_config() 202 int err __maybe_unused, char *buf, size_t size) in bpf__strerror_setup_output_event() 209 static inline int bpf__strerror_setup_stdout(struct evlist *evlist, int err, char *buf, size_t size) in bpf__strerror_setup_stdout()
|
D | perf_event_attr_fprintf.c | 15 static void __p_bits(char *buf, size_t size, u64 value, struct bit_names *bits) in __p_bits() 28 static void __p_sample_type(char *buf, size_t size, u64 value) in __p_sample_type() 44 static void __p_branch_sample_type(char *buf, size_t size, u64 value) in __p_branch_sample_type() 59 static void __p_read_format(char *buf, size_t size, u64 value) in __p_read_format() 93 char buf[BUF_SIZE]; in perf_event_attr__fprintf() local
|
D | probe-file.c | 76 char buf[PATH_MAX]; in open_trace_file() local 137 char buf[MAX_CMDLEN]; in probe_file__get_rawlist() local 186 char buf[128]; in __probe_file__get_namelist() local 233 char *buf = synthesize_probe_trace_command(tev); in probe_file__add_event() local 257 char buf[128]; in __del_trace_probe_event() local 473 char buf[MAX_CMDLEN], *p; in probe_cache__load() local 730 static int synthesize_sdt_probe_arg(struct strbuf *buf, int i, const char *arg) in synthesize_sdt_probe_arg() 779 struct strbuf buf; in synthesize_sdt_probe_command() local 829 char *buf; in probe_cache__scan_sdt() local 946 char buf[128], *ptr = entry->spev; in probe_cache_entry__compare() local [all …]
|
/tools/testing/selftests/net/ |
D | tls.c | 89 char buf[10]; in TEST_F() local 187 char *buf; in TEST_F() local 205 char buf[TLS_PAYLOAD_MAX_LEN]; in TEST_F() local 216 char buf[10]; in TEST_F() local 228 char buf[10 * 2]; in TEST_F() local 242 char buf[10]; in TEST_F() local 255 char buf[13]; in TEST_F() local 272 char buf[SEND_LEN * MAX_FRAGS]; in TEST_F() local 333 char *buf; in TEST_F() local 368 char buf[1 << 14]; in TEST_F() local [all …]
|
/tools/perf/lib/ |
D | lib.c | 10 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion() 36 ssize_t readn(int fd, void *buf, size_t n) in readn() 44 ssize_t writen(int fd, const void *buf, size_t n) in writen()
|
/tools/lib/ |
D | vsprintf.c | 6 int vscnprintf(char *buf, size_t size, const char *fmt, va_list args) in vscnprintf() 14 int scnprintf(char * buf, size_t size, const char * fmt, ...) in scnprintf() 27 int scnprintf_pad(char * buf, size_t size, const char * fmt, ...) in scnprintf_pad()
|
/tools/testing/selftests/proc/ |
D | read.c | 40 char buf[4096]; in f_reg() local 53 static void f_reg_write(DIR *d, const char *filename, const char *buf, size_t len) in f_reg_write() 68 char buf[4096]; in f_lnk() local
|
D | setns-dcache.c | 93 char buf[64]; in main() local 112 char buf[4096]; in main() local
|
D | setns-sysvipc.c | 92 char buf[64]; in main() local 111 char buf[4096]; in main() local
|
/tools/testing/selftests/timers/ |
D | clocksource-switch.c | 44 char buf[512]; in get_clocksources() local 75 int get_cur_clocksource(char *buf, size_t size) in get_cur_clocksource() 109 char buf[255]; in run_tests() local
|
/tools/bpf/bpftool/ |
D | perf.c | 26 char buf[256]; in has_perf_query_support() local 64 char *buf, __u64 probe_offset, __u64 probe_addr) in print_perf_json() 114 char *buf, __u64 probe_offset, __u64 probe_addr) in print_perf_plain() 157 char buf[4096]; in show_proc() local
|
/tools/perf/arch/ |
D | common.c | 96 char buf[PATH_MAX]; in lookup_path() local 122 char buf[PATH_MAX]; in lookup_triplets() local 138 char *buf = NULL; in perf_env__lookup_binutils_path() local
|
/tools/perf/ui/gtk/ |
D | hists.c | 23 char *buf = hpp->buf; in __percent_color_snprintf() local 117 char buf[128]; in perf_gtk__add_callchain_flat() local 138 char buf[128]; in perf_gtk__add_callchain_flat() local 169 char buf[64]; in perf_gtk__add_callchain_folded() local 239 char buf[128]; in perf_gtk__add_callchain_graph() local 474 char buf[32]; in perf_gtk__add_hierarchy_entries() local 509 char buf[512]; in perf_gtk__show_hierarchy() local 641 char buf[512]; in perf_evlist__gtk_browse_hists() local
|
/tools/perf/arch/arm64/tests/ |
D | dwarf-unwind.c | 19 u64 stack_size, *buf; in sample_ustack() local 49 u64 *buf; in test__arch_unwind_sample() local
|
/tools/perf/arch/powerpc/tests/ |
D | dwarf-unwind.c | 20 u64 stack_size, *buf; in sample_ustack() local 50 u64 *buf; in test__arch_unwind_sample() local
|
/tools/perf/arch/arm/tests/ |
D | dwarf-unwind.c | 19 u64 stack_size, *buf; in sample_ustack() local 49 u64 *buf; in test__arch_unwind_sample() local
|
/tools/perf/arch/x86/tests/ |
D | dwarf-unwind.c | 20 u64 stack_size, *buf; in sample_ustack() local 50 u64 *buf; in test__arch_unwind_sample() local
|
/tools/testing/selftests/kvm/lib/ |
D | io.c | 41 ssize_t test_write(int fd, const void *buf, size_t count) in test_write() 118 ssize_t test_read(int fd, void *buf, size_t count) in test_read()
|
/tools/vm/ |
D | page-types.c | 253 uint64_t *buf, in do_u64_read() 273 static unsigned long kpageflags_read(uint64_t *buf, in kpageflags_read() 280 static unsigned long kpagecgroup_read(uint64_t *buf, in kpagecgroup_read() 290 static unsigned long kpagecount_read(uint64_t *buf, in kpagecount_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 527 char buf[MAX_PATH + 1]; in prepare_hwpoison_fd() local 550 char buf[100]; in hwpoison_page() local 564 char buf[100]; in unpoison_page() local [all …]
|
D | page_owner_sort.c | 34 int read_block(char *buf, int buf_size, FILE *fin) in read_block() 61 static void add_list(char *buf, int len) in add_list() 90 char *buf; in main() local
|