mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
New function.
2006-10-09 Soren Sandmann <ssp@localhost.localdomain> * process.c (process_get_vdso_bytes): New function. * elfparser.c (parser_new_from_data): export this function as elf_parser_new_from_data(). * binfile.c (read_inode): Don't stat if filename is '[vdso]'. Instead just return -1; (bin_file_new): Use elf_parser_new_from_data() when the file is [vdso]. * process.c (read_maps): Change the offset of the vdso map to 0 and the inode to -1. * elfparser.c (elf_parser_lookup_symbol): Remove unused 'size' variable. * binfile.c (find_separate_debug_file): Deal with cycles in the debuglink graph. * configure.ac: Set version to 1.1.0. Print warning about HEAD.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
4050648b0e
commit
b54b0809b6
16
TODO
16
TODO
@ -37,11 +37,16 @@ Before 1.2:
|
||||
* Elf bugs:
|
||||
- error handling for bin_parser is necessary.
|
||||
|
||||
- don't loop infinitely if there are cycles in the debuglink graph.
|
||||
|
||||
* Find out why all apps have an "In file /usr/bin/<app binary>" below
|
||||
_libc_main. If possible, maybe make up a name for it.
|
||||
|
||||
* vdso stuff:
|
||||
- the "[vdso]" string should be #defined somewhere
|
||||
- Does get_vdso_bytes() belong in process.c?
|
||||
- Is basing on "[vdso]" always correct?
|
||||
|
||||
* Convert things like [heap] and [stack] to more understandable labels.
|
||||
|
||||
* Strategies for taking reliable stacktraces.
|
||||
|
||||
Three different kinds of files
|
||||
@ -64,6 +69,7 @@ Before 1.2:
|
||||
- vdso
|
||||
- assume its the same across processes, just look at
|
||||
sysprof's own copy.
|
||||
Done: vdso is done now
|
||||
- send copy of it to userspace once, or for every
|
||||
sample.
|
||||
|
||||
@ -154,8 +160,6 @@ Before 1.2:
|
||||
|
||||
* Make it compile and work on x86-64
|
||||
|
||||
* Add "sysprof --version"
|
||||
|
||||
* With kernel module not installed, select Profiler->Start, then dismiss
|
||||
the alert. This causes the start button to appear prelighted. Probably
|
||||
just another gtk+ bug.
|
||||
@ -652,6 +656,10 @@ Later:
|
||||
|
||||
-=-=-=-=-=-=-=-=-=-=-=-=-=-=- ALREADY DONE -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
|
||||
* don't loop infinitely if there are cycles in the debuglink graph.
|
||||
|
||||
* Add "sysprof --version"
|
||||
|
||||
* Fix (potential) performance issues in symbol lookup.
|
||||
|
||||
- when an elf file is read, it should be checked that the various
|
||||
|
||||
Reference in New Issue
Block a user