Searched refs:linkname (Results 1 – 4 of 4) sorted by relevance
/tools/perf/util/ |
D | build-id.c | 181 char *linkname; in build_id_cache__origname() local 187 linkname = build_id_cache__linkname(sbuild_id, NULL, 0); in build_id_cache__origname() 188 if (!linkname) in build_id_cache__origname() 191 len = readlink(linkname, buf, sizeof(buf) - 1); in build_id_cache__origname() 209 free(linkname); in build_id_cache__origname() 248 char *linkname; in dso__build_id_filename() local 256 linkname = build_id_cache__linkname(sbuild_id, NULL, 0); in dso__build_id_filename() 257 if (!linkname) in dso__build_id_filename() 261 if (is_regular_file(linkname)) in dso__build_id_filename() 262 ret = asnprintf(&bf, size, "%s", linkname); in dso__build_id_filename() [all …]
|
D | annotate.c | 1251 char linkname[PATH_MAX]; in dso__disassemble_filename() local 1276 readlink(build_id_path, linkname, sizeof(linkname)) < 0 || in dso__disassemble_filename() 1277 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 | 948 char linkname[PATH_MAX], pathname[PATH_MAX]; in thread__read_fd_path() local 953 scnprintf(linkname, sizeof(linkname), in thread__read_fd_path() 956 scnprintf(linkname, sizeof(linkname), in thread__read_fd_path() 960 if (lstat(linkname, &st) < 0 || st.st_size + 1 > (off_t)sizeof(pathname)) in thread__read_fd_path() 963 ret = readlink(linkname, pathname, sizeof(pathname)); in thread__read_fd_path()
|