- User Since
- Jan 9 2020, 2:26 PM (13 w, 13 h)
Tue, Apr 7
Fri, Mar 20
Wed, Mar 11
Yes that would be great. Please go ahead.
Mar 6 2020
Any further comments? If not, feel free to accept this revision.
Feb 28 2020
Feb 21 2020
It looks like it's just the allocated memory for labels, as most of the memory used by check_labels are given back (freed) according to the picture.
Kernel probably has a lot of assembly files with a lot of labels. Is memory usage a problem?
Check labels seems to be using a lot of memory (20 Mb). There might be a bug somewhere. I'm looking into it.
Feb 19 2020
Added Makefile changes.
Feb 18 2020
Feb 11 2020
I added in line 482
if (lopc == curlopc) return (DW_DLV_ERROR);
for the case when DW_AT_Range is present so the program stops when we can't find an address.
Added comment on check_range()
Feb 7 2020
-f and -i flag outputs are now the same as original.
collect_func() needs gdb to get function name, so I added a field a CU to store this info in the cache.
- I fixed the issues mentioned in the code comments.
- I tested the performance with curlopc and with resetting cu to first cu every time(v2), below is the results:
v1 is addr2line with curlopc
v2 is the version that resets cu to first cu for every translation
10000seq stores 10k sorted addr of first 20k kernel addr.
1000rand stores 1k rand addr in all of kernel addr
r10000seq is 10000seq reversed
Which version should I keep?
- I didn't test with -f -i before. And having tested it just now I realized the output between the old version and my patch looks different. I'm looking into it now.
Feb 6 2020
Feb 4 2020
Feb 3 2020
Jan 31 2020
Updated. Current code is passing my tests.
I removed the useless node and now we check max node if nfind returns null. I guess useless node was indeed useless lol.
Jan 30 2020
I fixed the issues according to the comments. We're using CU as tree node now and only allocate CU when addr is in the CU's range. The code looks much cleaner now.
Jan 29 2020
Jan 28 2020
Jan 27 2020
Added random support in. The revision is ready for review now.
Jan 24 2020
I realized I need to change a small piece of code to support random access. Will update once done.