Home
last modified time | relevance | path

Searched refs:strlcpy (Results 1 – 20 of 20) sorted by relevance

/tools/include/linux/
Dstring.h20 extern size_t strlcpy(char *dest, const char *src, size_t size);
/tools/perf/ui/tui/
Dhelpline.c28 strlcpy(ui_helpline__current, msg, sz); in tui_helpline__push()
/tools/perf/jvmti/
DBuild4 # For strlcpy
Dlibjvmti.c166 strlcpy(result, file_name, max_length); in copy_class_filename()
/tools/lib/subcmd/
Dexec-cmd.c49 strlcpy(cwd, pwd, PATH_MAX); in get_pwd_cwd()
60 if (strlcpy(buf, path, PATH_MAX) >= PATH_MAX) in make_nonrelative_path()
/tools/lib/
Dstring.c99 size_t __weak strlcpy(char *dest, const char *src, size_t size) in strlcpy() function
/tools/perf/arch/x86/util/
Devent.c65 strlcpy(event->mmap.filename, kmap->name, PATH_MAX); in perf_event__synthesize_extra_kmaps()
Dmachine.c43 strlcpy(mi->maps[mi->cnt].name, name, KMAP_NAME_LEN); in add_extra_kernel_map()
/tools/perf/
Dbuiltin-buildid-cache.c38 strlcpy(root_dir, proc_dir, sizeof(root_dir)); in build_id_cache__kcore_buildid()
106 strlcpy(to_dir, to_subdir, to_dir_sz); in build_id_cache__kcore_existing()
123 strlcpy(from_dir, filename, sizeof(from_dir)); in build_id_cache__add_kcore()
/tools/perf/util/
Dllvm-utils.c81 strlcpy(output, def, PATH_MAX); in search_program()
100 strlcpy(output, buf, PATH_MAX); in search_program()
Dsvghelper.c335 strlcpy(cpu_m, &buf[13], 255); in cpu_model()
Dmachine.c977 strlcpy(kmap->name, xm->name, KMAP_NAME_LEN); in machine__create_extra_kernel_map()
1067 strlcpy(xm.name, ENTRY_TRAMPOLINE_NAME, KMAP_NAME_LEN); in machine__map_x86_64_entry_trampolines()
1532 strlcpy(xm.name, event->mmap.filename, KMAP_NAME_LEN); in machine__process_extra_kernel_map()
Dprobe-file.c419 strlcpy(sbuildid, target, SBUILD_ID_SIZE); in probe_cache__open()
Dsynthetic-events.c1522 strlcpy(ev->data, evsel->unit, size + 1); in perf_event__synthesize_event_update_unit()
1557 strlcpy(ev->data, evsel->name, len + 1); in perf_event__synthesize_event_update_name()
Ddso.c308 strlcpy(pathname, tmpbuf, len); in decompress_kmodule()
Dauxtrace.c881 strlcpy(auxtrace_error->msg, msg, MAX_AUXTRACE_ERROR_MSG); in auxtrace_synth_error()
Dsymbol.c1902 strlcpy(dir, kallsyms_filename, dir_sz); in find_matching_kcore()
Dparse-events.c2574 strlcpy(name, syms->symbol, MAX_NAME_LEN); in print_symbol_events()
Dannotate.c1896 strlcpy(symfs_filename, kce.extract_filename, in symbol__disassemble()
/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c401 strlcpy(buf, intel_pt_err_msgs[code], buflen); in intel_pt__strerror()