Searched refs:linkname (Results 1 – 4 of 4) sorted by relevance
/tools/perf/util/ |
D | build-id.c | 199 char *linkname; in build_id_cache__origname() local 205 linkname = build_id_cache__linkname(sbuild_id, NULL, 0); in build_id_cache__origname() 206 if (!linkname) in build_id_cache__origname() 209 len = readlink(linkname, buf, sizeof(buf) - 1); in build_id_cache__origname() 227 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 | 1627 char linkname[PATH_MAX]; in dso__disassemble_filename() local 1663 len = readlink(build_id_path, linkname, sizeof(linkname) - 1); in dso__disassemble_filename() 1667 linkname[len] = '\0'; in dso__disassemble_filename() 1668 if (strstr(linkname, DSO__NAME_KALLSYMS) || in dso__disassemble_filename()
|
/tools/perf/ |
D | perf-archive.sh | 37 linkname=$PERF_BUILDID_DIR.build-id/${build_id:0:2}/${build_id:2} 38 filename=$(readlink -f $linkname) 39 echo ${linkname#$PERF_BUILDID_DIR} >> $MANIFEST
|
D | builtin-trace.c | 1375 char linkname[PATH_MAX], pathname[PATH_MAX]; in thread__read_fd_path() local 1380 scnprintf(linkname, sizeof(linkname), in thread__read_fd_path() 1383 scnprintf(linkname, sizeof(linkname), in thread__read_fd_path() 1387 if (lstat(linkname, &st) < 0 || st.st_size + 1 > (off_t)sizeof(pathname)) in thread__read_fd_path() 1390 ret = readlink(linkname, pathname, sizeof(pathname)); in thread__read_fd_path()
|