mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Add ref_count and filename (bin_files): Add map from filenames to BinFiles
2006-08-21 Soren Sandmann <sandmann@redhat.com> * binfile.c (struct BinFile): Add ref_count and filename (bin_files): Add map from filenames to BinFiles (bin_file_new): First look for BinFile in the cache. (bin_file_free): If refcount reaches 0, remove BinFile from cache. * TODO: Updates
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
a1bddd8d9f
commit
bb616fd754
@ -1,3 +1,12 @@
|
||||
2006-08-21 Soren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* binfile.c (struct BinFile): Add ref_count and filename
|
||||
(bin_files): Add map from filenames to BinFiles
|
||||
(bin_file_new): First look for BinFile in the cache.
|
||||
(bin_file_free): If refcount reaches 0, remove BinFile from cache.
|
||||
|
||||
* TODO: Updates
|
||||
|
||||
2006-08-21 Soren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* process.c (process_lookup_symbol): Pass map->bin_file to
|
||||
|
||||
Reference in New Issue
Block a user