ef2da92b0a
More error handling.
2009-11-02 13:52:11 -05:00
71f2cd3a64
Return error when the counter can't be opened.
2009-11-02 13:30:04 -05:00
1b64f1d924
Also filter out NMI stack
2009-10-29 07:40:51 -04:00
ae77f078d3
Skip symbols from IRQ stack.
...
There is a bug in the kernel where it includes the stack of the IRQ
that generated the event, so that the stack ends up looking like this:
[ip] [irq stack] [real stack].
As a temporary workaround, this patch filters out the irq stack
symbols.
2009-10-29 07:31:31 -04:00
7fc23589a2
Exclude idle events and set sample_period to 200000
2009-10-23 13:42:11 -04:00
70d03f4bf2
Set wakeup_events to 149, not 150
2009-10-21 12:31:43 -04:00
0abcd98e2a
TODO
2009-10-21 12:30:32 -04:00
ecb15e0b7f
Show the "-- kernel --" marker in kernel threads
...
The innermost context is normally user mode, so we don't show. For
kernel threads, the innermost context is the kernel, so don't filter
it out.
2009-10-21 12:28:43 -04:00
393a26dad6
Disable accessibility
...
Accessibility prevents sysprof from working reliably, so disable
it. Specifically, it
- causes large amounts of time to be spent in sysprof itself
whenever the label is updated.
- sometimes hangs at shutdown
- does long-running roundtrip requests that prevents
reading the event buffers, resulting in lost events.
2009-10-21 12:27:19 -04:00
2c4422c46e
Make the events more compact by packing type and pid into one uint32_t.
2009-10-21 08:57:08 -04:00
432cd9ce55
Add support for software fallback counters
2009-10-21 06:58:20 -04:00
2c8638d3f3
TODO
2009-10-21 06:57:29 -04:00
7836e72295
Remove final bits of binparser
2009-10-08 19:26:44 -04:00
ca14021fb3
Eliminate more BinParser stuff
2009-10-08 19:17:24 -04:00
4f9903b913
Beginning of the end for BinParser.
...
Instead of the clunky BinParser, we are moving to a scheme where the
ELF accessors are defined by macros. This is the first step towards
getting rid of it.
2009-10-08 17:40:20 -04:00
33fdd6cda3
Pre-release version bump
2009-09-26 09:56:33 -04:00
f871ceb3d3
Remove GSEAL macros
2009-09-25 12:47:55 -04:00
79107145c0
Really make it compile on older kernels
2009-09-25 11:50:08 -04:00
626078e873
Make it distcheck
...
Also add a warning about compiling against a too old kernel.
2009-09-25 11:37:26 -04:00
8df1145c84
Comment out some debugging spam; update copyright
2009-09-25 11:24:40 -04:00
9072f891fd
Eliminate 'partial' string
2009-09-24 10:46:59 -04:00
8771972212
In sysprof-cli.c, stop the collector before trying to create a profile
2009-09-16 08:22:18 -04:00
a33678df26
Update TODO
2009-09-14 04:59:28 -04:00
08fc4f64a9
Read data before stopping collector.
...
Stop debug spew.
2009-09-11 04:07:11 -04:00
3bd9debb5c
TODO
2009-09-10 03:08:16 -04:00
09ffea0d57
TODO, plus a number of other fixes
2009-09-08 19:35:03 -04:00
75c5a39c72
Avoid mallocs in process_sample()
2009-09-08 03:24:46 -04:00
6dabcefec5
Better handling of events without stacktraces
2009-09-08 03:03:38 -04:00
23147e1141
Remove stash from collector
2009-09-08 03:03:26 -04:00
e277712037
Initial support for fork/exit events
2009-09-08 03:03:24 -04:00
6e1e43ff3b
Make sure parser->symbols is non-NULL after read_table()
...
Otherwise, we would read the file over and over.
Also get the process name from /proc/pid/cmdline, falling back to
/proc/pid/status if there is nothing there.
2009-09-08 03:03:23 -04:00
4ce73d1e5f
TODO
2009-09-08 03:03:21 -04:00
985db99fed
Destroy state object after use, don't keep bin files in map objects
2009-09-08 03:03:19 -04:00
0ceaff7a66
Move bin file cache to state object
2009-09-08 03:03:18 -04:00
604d07600a
Simplify vdso reading in binfile.c
2009-09-08 03:03:17 -04:00
3d9cbe20e7
Remove last bits of process.[ch]
2009-09-08 03:03:15 -04:00
b8364e2847
Don't compile process.[ch] anymore
2009-09-08 03:03:14 -04:00
8dd28de710
Update TODO
2009-09-08 03:03:13 -04:00
43e419f774
Simpler message formatting
2009-09-08 03:03:11 -04:00
c3288467bc
More informative errors when symbols can't be found
2009-09-08 03:03:10 -04:00
29e270cb8d
Various debug spew
2009-09-08 03:03:08 -04:00
d34a1cf460
Add symbol resolution to tracker
2009-09-08 03:03:07 -04:00
cdc7ce7e12
Add process and map tracking to tracker
2009-09-08 03:03:06 -04:00
5072c23f42
Add events to tracker instead of stash
2009-09-08 03:03:04 -04:00
b86b04910f
Fake new_process and new_map events when a tracker is created
2009-09-08 03:03:03 -04:00
139acd0287
Hook up dead period, and only call back after a complete batch of samples
2009-09-08 03:03:01 -04:00
7b75070125
Implement tracker_add_sample()
2009-09-08 03:03:00 -04:00
3395b317ab
Make stack_stash_add_trace() return a pointer to the trace
2009-09-08 03:02:58 -04:00
e387de1c3a
Make StackStash store uint64_ts instead of pointers
2009-09-08 03:02:56 -04:00
e1cfbc4c53
Add code to append map and process events
2009-09-08 03:02:55 -04:00