Home
last modified time | relevance | path

Searched refs:temp_fd (Results 1 – 2 of 2) sorted by relevance

/linux-6.15/tools/perf/util/
H A Dtrace-event-info.c613 int temp_fd; in tracing_data_get() local
623 temp_fd = open(tdata->temp_file, O_RDWR); in tracing_data_get()
624 if (temp_fd < 0) { in tracing_data_get()
634 output_fd = temp_fd; in tracing_data_get()
H A Dsymbol-elf.c1215 int ret, temp_fd; in read_gnu_debugdata() local
1250 temp_fd = mkstemp(temp_filename); in read_gnu_debugdata()
1251 if (temp_fd < 0) { in read_gnu_debugdata()
1259 ret = lzma_decompress_stream_to_file(wrapped, temp_fd); in read_gnu_debugdata()
1263 close(temp_fd); in read_gnu_debugdata()
1267 elf_embedded = elf_begin(temp_fd, PERF_ELF_C_READ_MMAP, NULL); in read_gnu_debugdata()
1272 close(temp_fd); in read_gnu_debugdata()
1276 *fd_ret = temp_fd; in read_gnu_debugdata()