5

I noticed there is ~/.debug/ contain probes and elf files for many libraries. What program actually create this? structure like this:

.debug/ ├── .build-id ├── home ├── [kernel.kallsyms] ├── usr 
1

1 Answer 1

6

This directory is created by perf command.

perf.wiki.kernel.org: The build-id cache

Given that build-id are immutable, they uniquely identify a binary. If a binary is recompiled, a new build-id is generated and a new copy of the ELF images is saved in the cache. The cache is saved on disk in a directory which is by default $HOME/.debug.

2

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.