mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 22:50:54 +00:00
If the address is 0x01, treat as kernel, regardless of whether we have a
Tue Sep 27 01:33:33 2005 Soeren Sandmann <sandmann@redhat.com> * process.c (process_lookup_symbol): If the address is 0x01, treat as kernel, regardless of whether we have a map for that address or not. * module/sysprof-module.c (timer_notify): Take a stack trace of the current process, even when we are in kernel mode. This way we can assign kernel activity to individual user space stacktraces. * TODO: updates.
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
665d680c46
commit
bce3b1fea6
22
TODO
22
TODO
@ -42,6 +42,20 @@ Before 1.0.1:
|
||||
See also http://www.fedoraproject.org/wiki/Extras/KernelModuleProposal
|
||||
|
||||
Before 1.2:
|
||||
|
||||
* Figure out how to make sfile.[ch] use less memory.
|
||||
- In general clean sfile.[ch] up a little:
|
||||
- split out dfa in its own generic class
|
||||
- make a generic representation of xml files with quarks for strings:
|
||||
struct item {
|
||||
int begin/end/text;
|
||||
quark text: -> begin/end/value
|
||||
int id; -> for begins that are pointed to
|
||||
}
|
||||
perhaps even with iterators. Should be compact and suitable for both
|
||||
input and output..
|
||||
- make the api a little saner; add format/content structs
|
||||
-
|
||||
|
||||
* See if the auto-expanding can be made more intelligent
|
||||
|
||||
@ -412,6 +426,14 @@ Later:
|
||||
|
||||
- Profiling a login session.
|
||||
|
||||
- Many applications are running at the same time, doing IPC. It would be useful
|
||||
if we could figure out what other things a given process is waiting on. Eg., in
|
||||
poll, find out what processes have the other ends of the fd's open.
|
||||
Visualization: multiple lines on a graph. Lines join up where one process
|
||||
is blocking on another. That would show processes holding up the progress
|
||||
very clearly.
|
||||
This was suggested by Federico.
|
||||
|
||||
- Need to report stat() as well. (Where do inode data end up? In the buffer-cache?)
|
||||
Also open() may cause disk reads (seeks).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user