Searched refs:linkname (Results 1 – 4 of 4) sorted by relevance
/tools/perf/util/ |
D | build-id.c | 200 char *linkname; in build_id_cache__origname() local 206 linkname = build_id_cache__linkname(sbuild_id, NULL, 0); in build_id_cache__origname() 207 if (!linkname) in build_id_cache__origname() 210 len = readlink(linkname, buf, sizeof(buf) - 1); in build_id_cache__origname() 228 free(linkname); in build_id_cache__origname() 269 char *linkname; in __dso__build_id_filename() local 277 linkname = build_id_cache__linkname(sbuild_id, NULL, 0); in __dso__build_id_filename() 278 if (!linkname) in __dso__build_id_filename() 282 if (is_regular_file(linkname)) in __dso__build_id_filename() 283 ret = asnprintf(&bf, size, "%s", linkname); in __dso__build_id_filename() [all …]
|
D | annotate.c | 1633 char linkname[PATH_MAX]; in dso__disassemble_filename() local 1669 len = readlink(build_id_path, linkname, sizeof(linkname) - 1); in dso__disassemble_filename() 1673 linkname[len] = '\0'; in dso__disassemble_filename() 1674 if (strstr(linkname, DSO__NAME_KALLSYMS) || in dso__disassemble_filename()
|
/tools/perf/ |
D | perf-archive.sh | 36 linkname=$PERF_BUILDID_DIR.build-id/${build_id:0:2}/${build_id:2} 37 filename=$(readlink -f $linkname) 38 echo ${linkname#$PERF_BUILDID_DIR} >> $MANIFEST
|
D | builtin-trace.c | 1385 char linkname[PATH_MAX], pathname[PATH_MAX]; in thread__read_fd_path() local 1390 scnprintf(linkname, sizeof(linkname), in thread__read_fd_path() 1393 scnprintf(linkname, sizeof(linkname), in thread__read_fd_path() 1397 if (lstat(linkname, &st) < 0 || st.st_size + 1 > (off_t)sizeof(pathname)) in thread__read_fd_path() 1400 ret = readlink(linkname, pathname, sizeof(pathname)); in thread__read_fd_path()
|