Commit Graph

441 Commits

Author SHA1 Message Date
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
4ef449b6db Add array resizing code 2009-09-08 03:02:53 -04:00
978ecd5d75 Create data types 2009-09-08 03:02:52 -04:00
b7d7998eba Add tracker.[ch] 2009-09-08 03:02:50 -04:00
47795ba85b Use a buffer of 32 pages.
Also remove a debug print statement.
2009-09-08 03:02:49 -04:00
f368efaaf0 Add a cache for TreeDataList allocation 2009-09-08 03:02:47 -04:00
6849c1472d Eliminate as many signal emissions as we can from footreestore.c 2009-09-08 03:02:46 -04:00
47434b8c81 Some more renamings 2009-09-08 03:02:44 -04:00
0ab7325806 Lots of gtk->foo renames 2009-09-08 03:02:42 -04:00
6fc4ba4f45 Add forked copies of gtktreestore.[ch] and gtktreedatalist.[ch] 2009-09-08 03:02:40 -04:00
08ba6bfbd3 Use two consecutive mappings of the ring buffer.
This allows us to not ignore wrapping and just process events instead
of having to copy the data to temporary storage.
2009-09-08 03:02:37 -04:00
594a58d674 Initial port to perf counters 2009-09-08 03:02:11 -04:00
a7a1ab3081 Remove unused profile_from_file variable 2009-08-22 06:07:42 -04:00
1e332ab35a Rename sysprof-text to sysprof-cli 2009-08-19 07:15:42 -04:00
d65e0e57bb Delete trailing whitespace 2009-08-17 09:40:08 -04:00