Symbol resolution for global variables (not functions)
Open
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
This actually used to work with the old `ProcessSymbols` code, and I think we have regressed when moving to the C libelf-based implementation in libbcc. It would still be beneficial to support global variables, e.g. to resolve global mutexes for the lockstat tool.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by comparing the old ProcessSymbols implementation with the current C libelf-based symbol resolution in libbcc. Trace how the lockstat tool requests symbols, then verify that global variables, including global mutexes, resolve successfully without regressing function resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100