-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change bininspect.InspectWithDWARF to take dwarf data
This moves the loading of DWARF data into memory from inside the bininspect InspectWithDWARF API to outside of it. This allows dynamic instrumentation to re-use the allocated DWARF data which would then get passed in. This should drastically reduce the size of allocations in Go DI while having no effect in the one other place where the function is used. Signed-off-by: grantseltzer <[email protected]>
- Loading branch information
1 parent
e41a530
commit ea77939
Showing
4 changed files
with
20 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters