Søren Sandmann Pedersen [Thu, 29 Oct 2009 11:40:51 +0000 (07:40 -0400)]
Also filter out NMI stack
Søren Sandmann Pedersen [Thu, 29 Oct 2009 11:31:31 +0000 (07:31 -0400)]
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.
Søren Sandmann Pedersen [Fri, 23 Oct 2009 17:42:11 +0000 (13:42 -0400)]
Exclude idle events and set sample_period to 200000
Søren Sandmann Pedersen [Wed, 21 Oct 2009 16:31:43 +0000 (12:31 -0400)]
Set wakeup_events to 149, not 150
Søren Sandmann Pedersen [Wed, 21 Oct 2009 16:30:32 +0000 (12:30 -0400)]
TODO
Søren Sandmann Pedersen [Wed, 21 Oct 2009 16:28:43 +0000 (12:28 -0400)]
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.
Søren Sandmann Pedersen [Wed, 21 Oct 2009 16:27:19 +0000 (12:27 -0400)]
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.
Søren Sandmann Pedersen [Wed, 21 Oct 2009 12:57:08 +0000 (08:57 -0400)]
Make the events more compact by packing type and pid into one uint32_t.
Søren Sandmann Pedersen [Wed, 21 Oct 2009 10:58:20 +0000 (06:58 -0400)]
Add support for software fallback counters
Søren Sandmann Pedersen [Wed, 21 Oct 2009 10:52:18 +0000 (06:52 -0400)]
TODO
Søren Sandmann Pedersen [Thu, 8 Oct 2009 23:25:54 +0000 (19:25 -0400)]
Remove final bits of binparser
Søren Sandmann Pedersen [Thu, 8 Oct 2009 23:17:24 +0000 (19:17 -0400)]
Eliminate more BinParser stuff
Søren Sandmann Pedersen [Thu, 8 Oct 2009 21:40:20 +0000 (17:40 -0400)]
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.
Søren Sandmann Pedersen [Sat, 26 Sep 2009 13:56:33 +0000 (09:56 -0400)]
Pre-release version bump
Søren Sandmann Pedersen [Fri, 25 Sep 2009 16:47:55 +0000 (12:47 -0400)]
Remove GSEAL macros
Søren Sandmann Pedersen [Fri, 25 Sep 2009 15:50:08 +0000 (11:50 -0400)]
Really make it compile on older kernels
Søren Sandmann Pedersen [Fri, 25 Sep 2009 15:37:26 +0000 (11:37 -0400)]
Make it distcheck
Also add a warning about compiling against a too old kernel.
Søren Sandmann Pedersen [Fri, 25 Sep 2009 15:24:40 +0000 (11:24 -0400)]
Comment out some debugging spam; update copyright
Søren Sandmann Pedersen [Thu, 24 Sep 2009 14:46:59 +0000 (10:46 -0400)]
Eliminate 'partial' string
M Joonas Pihlaja [Wed, 16 Sep 2009 12:21:49 +0000 (08:21 -0400)]
In sysprof-cli.c, stop the collector before trying to create a profile
Søren Sandmann Pedersen [Mon, 14 Sep 2009 08:59:28 +0000 (04:59 -0400)]
Update TODO
Søren Sandmann Pedersen [Thu, 10 Sep 2009 07:41:32 +0000 (03:41 -0400)]
Read data before stopping collector.
Stop debug spew.
Søren Sandmann Pedersen [Thu, 10 Sep 2009 07:08:16 +0000 (03:08 -0400)]
TODO
Søren Sandmann Pedersen [Tue, 8 Sep 2009 23:35:03 +0000 (19:35 -0400)]
TODO, plus a number of other fixes
Søren Sandmann Pedersen [Tue, 8 Sep 2009 07:24:46 +0000 (03:24 -0400)]
Avoid mallocs in process_sample()
Søren Sandmann Pedersen [Tue, 8 Sep 2009 06:59:04 +0000 (02:59 -0400)]
Better handling of events without stacktraces
Søren Sandmann Pedersen [Tue, 8 Sep 2009 06:30:16 +0000 (02:30 -0400)]
Remove stash from collector
Søren Sandmann Pedersen [Tue, 8 Sep 2009 06:26:04 +0000 (02:26 -0400)]
Initial support for fork/exit events
Søren Sandmann Pedersen [Tue, 8 Sep 2009 05:26:29 +0000 (01:26 -0400)]
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.
Søren Sandmann Pedersen [Tue, 8 Sep 2009 04:45:43 +0000 (00:45 -0400)]
TODO
Søren Sandmann Pedersen [Tue, 8 Sep 2009 04:15:19 +0000 (00:15 -0400)]
Destroy state object after use, don't keep bin files in map objects
Søren Sandmann Pedersen [Tue, 8 Sep 2009 04:06:12 +0000 (00:06 -0400)]
Move bin file cache to state object
Søren Sandmann Pedersen [Tue, 8 Sep 2009 04:00:06 +0000 (00:00 -0400)]
Simplify vdso reading in binfile.c
Søren Sandmann Pedersen [Tue, 8 Sep 2009 03:35:30 +0000 (23:35 -0400)]
Remove last bits of process.[ch]
Søren Sandmann Pedersen [Tue, 8 Sep 2009 03:33:48 +0000 (23:33 -0400)]
Don't compile process.[ch] anymore
Søren Sandmann Pedersen [Tue, 8 Sep 2009 02:50:30 +0000 (22:50 -0400)]
Update TODO
Søren Sandmann Pedersen [Tue, 8 Sep 2009 02:20:13 +0000 (22:20 -0400)]
Simpler message formatting
Søren Sandmann Pedersen [Tue, 8 Sep 2009 01:57:20 +0000 (21:57 -0400)]
More informative errors when symbols can't be found
Søren Sandmann Pedersen [Tue, 8 Sep 2009 01:22:48 +0000 (21:22 -0400)]
Various debug spew
Søren Sandmann Pedersen [Tue, 8 Sep 2009 00:43:22 +0000 (20:43 -0400)]
Add symbol resolution to tracker
Søren Sandmann Pedersen [Mon, 7 Sep 2009 23:16:52 +0000 (19:16 -0400)]
Add process and map tracking to tracker
Søren Sandmann Pedersen [Mon, 7 Sep 2009 22:43:34 +0000 (18:43 -0400)]
Add events to tracker instead of stash
Søren Sandmann Pedersen [Mon, 7 Sep 2009 22:18:26 +0000 (18:18 -0400)]
Fake new_process and new_map events when a tracker is created
Søren Sandmann Pedersen [Mon, 7 Sep 2009 20:27:50 +0000 (16:27 -0400)]
Hook up dead period, and only call back after a complete batch of samples
Søren Sandmann Pedersen [Mon, 7 Sep 2009 19:57:34 +0000 (15:57 -0400)]
Implement tracker_add_sample()
Søren Sandmann Pedersen [Mon, 7 Sep 2009 19:55:45 +0000 (15:55 -0400)]
Make stack_stash_add_trace() return a pointer to the trace
Søren Sandmann Pedersen [Mon, 7 Sep 2009 19:13:14 +0000 (15:13 -0400)]
Make StackStash store uint64_ts instead of pointers
Søren Sandmann Pedersen [Mon, 7 Sep 2009 14:14:01 +0000 (10:14 -0400)]
Add code to append map and process events
Søren Sandmann Pedersen [Mon, 7 Sep 2009 14:02:58 +0000 (10:02 -0400)]
Add array resizing code
Søren Sandmann Pedersen [Mon, 7 Sep 2009 13:51:20 +0000 (09:51 -0400)]
Create data types
Søren Sandmann Pedersen [Mon, 7 Sep 2009 13:46:40 +0000 (09:46 -0400)]
Add tracker.[ch]
Søren Sandmann Pedersen [Mon, 7 Sep 2009 01:26:41 +0000 (21:26 -0400)]
Use a buffer of 32 pages.
Also remove a debug print statement.
Søren Sandmann Pedersen [Mon, 17 Aug 2009 11:38:15 +0000 (07:38 -0400)]
Add a cache for TreeDataList allocation
Søren Sandmann Pedersen [Mon, 17 Aug 2009 09:45:46 +0000 (05:45 -0400)]
Eliminate as many signal emissions as we can from footreestore.c
Søren Sandmann Pedersen [Mon, 17 Aug 2009 08:31:38 +0000 (04:31 -0400)]
Some more renamings
Søren Sandmann Pedersen [Mon, 7 Sep 2009 00:56:01 +0000 (20:56 -0400)]
Lots of gtk->foo renames
Søren Sandmann Pedersen [Mon, 17 Aug 2009 08:15:29 +0000 (04:15 -0400)]
Add forked copies of gtktreestore.[ch] and gtktreedatalist.[ch]
Søren Sandmann Pedersen [Mon, 7 Sep 2009 00:43:57 +0000 (20:43 -0400)]
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.
Søren Sandmann Pedersen [Sat, 5 Sep 2009 21:15:19 +0000 (17:15 -0400)]
Initial port to perf counters
Søren Sandmann Pedersen [Sat, 22 Aug 2009 08:08:57 +0000 (04:08 -0400)]
Remove unused profile_from_file variable
Søren Sandmann Pedersen [Sat, 15 Aug 2009 07:24:52 +0000 (03:24 -0400)]
Rename sysprof-text to sysprof-cli
Søren Sandmann Pedersen [Mon, 17 Aug 2009 13:40:08 +0000 (09:40 -0400)]
Delete trailing whitespace
Søren Sandmann Pedersen [Mon, 17 Aug 2009 13:34:10 +0000 (09:34 -0400)]
Reserve space in the samples label for large numbers.
This way, we don't need to reallocate the label every time it changes.
Søren Sandmann Pedersen [Mon, 17 Aug 2009 12:19:38 +0000 (08:19 -0400)]
Free the sfile formats after freeing the input/output files.
The instruction arrays in the files have a references to types that
are owned by the formats, so if the formats are freed first, valgrind
complains about invalid accesses during the freeing of the instruction
array.
Søren Sandmann Pedersen [Fri, 14 Aug 2009 01:51:13 +0000 (21:51 -0400)]
TODO
Søren Sandmann Pedersen [Sun, 22 Feb 2009 16:13:26 +0000 (11:13 -0500)]
Merge branch 'master' of git+ssh://git.gnome.org/git/sysprof
Søren Sandmann Pedersen [Sun, 22 Feb 2009 16:11:18 +0000 (11:11 -0500)]
Tweak percent sign format
Søren Sandmann Pedersen [Sun, 22 Feb 2009 09:29:09 +0000 (04:29 -0500)]
Add percent signs in screenshot window
Søren Sandmann Pedersen [Sun, 22 Feb 2009 06:04:30 +0000 (01:04 -0500)]
TODO
Søren Sandmann Pedersen [Sun, 22 Feb 2009 03:41:21 +0000 (22:41 -0500)]
TODO
Søren Sandmann Pedersen [Sun, 22 Feb 2009 03:48:04 +0000 (22:48 -0500)]
Get rid of hack to not fold recursions for "In file" symbols
Søren Sandmann Pedersen [Sun, 22 Feb 2009 03:37:16 +0000 (22:37 -0500)]
Give the samples label a minium width of "Samples: 888888"
We do this by putting the samples label and a sizer label into a
notebook where show_tabs is false. The benefits of this is that w
avoid the hack of connecting to the size request signal, and that the
samples label will be right adjusted.
Søren Sandmann Pedersen [Sat, 21 Feb 2009 09:14:55 +0000 (04:14 -0500)]
Add empty ChangeLog to appease automake
Søren Sandmann Pedersen [Sat, 21 Feb 2009 09:13:41 +0000 (04:13 -0500)]
Delete ChangeLog
Søren Sandmann Pedersen [Sat, 21 Feb 2009 09:07:07 +0000 (04:07 -0500)]
new enter_display_mode() function
Søren Sandmann Pedersen [Sat, 21 Feb 2009 08:54:36 +0000 (03:54 -0500)]
Don't delete profile when toggling on_profile
Søren Sandmann Pedersen [Sat, 21 Feb 2009 08:38:08 +0000 (03:38 -0500)]
Select the first row in the object view when making the profile
Søren Sandmann Pedersen [Sat, 21 Feb 2009 07:27:45 +0000 (02:27 -0500)]
Disregard symbols that are not defined with respect to the text section
Søren Sandmann Pedersen [Fri, 20 Feb 2009 12:33:24 +0000 (07:33 -0500)]
Add percent signs; update TODO
Søren Sandmann Pedersen [Sat, 25 Oct 2008 20:17:33 +0000 (16:17 -0400)]
Update configure banner to the latest version control system.
It was two version control systems behind.
Søren Sandmann [Sun, 14 Sep 2008 20:07:08 +0000 (20:07 +0000)]
Update to work with new vm_operations interface from 2.6.23. Patch from
Sun Sep 14 16:04:17 2008 Søren Sandmann <sandmann@redhat.com>
* sysprof/module/sysprof-module.c: Update to work with new
vm_operations interface from 2.6.23. Patch from Chris Wilson.
svn path=/trunk/; revision=435
Geoffrey Keating [Thu, 5 Jun 2008 02:09:33 +0000 (02:09 +0000)]
Apply patch from binutils to demangle local-source names. Binutils
Wed Jun 4 21:52:17 2008 Søren Sandmann <sandmann@redhat.com>
* demangle.c: Apply patch from binutils to demangle local-source
names. Binutils changelog:
2007-05-05 Geoffrey Keating <geoffk@apple.com>
* cp-demangle.c (d_name): Detect local-source-name.
(d_prefix): Likewise.
(d_unqualified_name): Implement local-source-name.
* sysprof.c: Update copyright statement
svn path=/trunk/; revision=434
Søren Sandmann [Mon, 2 Jun 2008 05:36:32 +0000 (05:36 +0000)]
Remove weird comment.
Mon Jun 2 01:35:25 2008 Søren Sandmann <sandmann@redhat.com>
* demangle.c: Remove weird comment.
* elfparser.h: Formatting.
svn path=/trunk/; revision=433
Søren Sandmann Pedersen [Mon, 2 Jun 2008 05:14:56 +0000 (05:14 +0000)]
+Mon Jun 2 01:14:17 2008 Søren Sandmann <sandmann@redhat.com>
+
+ * binfile.c (get_debug_binaries): Remove left-over #if 0
+
svn path=/trunk/; revision=432
Søren Sandmann [Mon, 2 Jun 2008 05:13:32 +0000 (05:13 +0000)]
Simplify loop.
Mon Jun 2 01:10:38 2008 Søren Sandmann <sandmann@redhat.com>
* binfile.c (get_debug_binaries): Simplify loop.
svn path=/trunk/; revision=431
Søren Sandmann [Mon, 2 Jun 2008 04:59:01 +0000 (04:59 +0000)]
Actually recurse on the debuglink.
Mon Jun 2 00:58:17 2008 Søren Sandmann <sandmann@redhat.com>
* binfile.c (get_debug_binaries): Actually recurse on the
debuglink.
svn path=/trunk/; revision=430
Søren Sandmann [Mon, 2 Jun 2008 04:56:32 +0000 (04:56 +0000)]
Plug leak
Mon Jun 2 00:56:00 2008 Søren Sandmann <sandmann@redhat.com>
* binfile.c (get_debug_binaries): Plug leak
svn path=/trunk/; revision=429
Søren Sandmann [Mon, 2 Jun 2008 04:54:15 +0000 (04:54 +0000)]
Keep a list of elf files for each binary file. In some cases, notably
Mon Jun 2 00:51:46 2008 Søren Sandmann <sandmann@redhat.com>
* binfile.c (get_debug_binaries): Keep a list of elf files for
each binary file. In some cases, notably glibc on Fedora, the
debug binary does not contain a symbol table, but the original
file does.
svn path=/trunk/; revision=428
Søren Sandmann [Mon, 2 Jun 2008 03:17:27 +0000 (03:17 +0000)]
Do not fold recursions for symbols starting with "In file".
Sun Jun 1 23:03:06 2008 Søren Sandmann <sandmann@redhat.com>
* profile.c (add_trace_to_tree): Do not fold recursions for
symbols starting with "In file".
* treeviewutils.c: Update copyright. Various formatting fixes.
svn path=/trunk/; revision=427
Søren Sandmann Pedersen [Fri, 30 May 2008 22:12:51 +0000 (22:12 +0000)]
Update TODO
svn path=/trunk/; revision=426
Owen Taylor [Thu, 8 May 2008 13:27:06 +0000 (13:27 +0000)]
Reorder the tests for CONFIG_X86 and CONFIG_X86_64 since post 2.6.26, they
2008-04-30 Owen Taylor <otaylor@redhat.com>
* module/sysprof-module.c: Reorder the tests for
CONFIG_X86 and CONFIG_X86_64 since post 2.6.26, they are
both defined on x86-64 machines.
svn path=/trunk/; revision=419
Soren Sandmann Pedersen [Thu, 8 May 2008 00:17:13 +0000 (00:17 +0000)]
Fix bug where the build id name was generated incorrectly.
2008-05-07 Soren Sandmann Pedersen <sandmann@daimi.au.dk>
* binfile.c (get_build_id_file): Fix bug where the build id name
was generated incorrectly.
Make a copy of the debug name, not the input name.
svn path=/trunk/; revision=418
Soren Sandmann [Sat, 26 Apr 2008 08:47:29 +0000 (08:47 +0000)]
Don't leak kallsyms
2008-04-26 Soren Sandmann <sandmann@daimi.au.dk>
* process.c (get_kernel_symbols): Don't leak kallsyms
* sysprof.c (gather_widgets): Don't leak the GladeXML
svn path=/trunk/; revision=415
Soren Sandmann [Sat, 26 Apr 2008 08:31:23 +0000 (08:31 +0000)]
Get rid of all calls to glade_xml_get_widget(). (gather_widgets): Instead
2008-04-26 Soren Sandmann <sandmann@daimi.au.dk>
* sysprof.c (build_gui): Get rid of all calls to
glade_xml_get_widget().
(gather_widgets): Instead get all the widgets here.
* TODO: updates
svn path=/trunk/; revision=414
Soren Sandmann [Sat, 26 Apr 2008 08:09:48 +0000 (08:09 +0000)]
Remove all calls to g_signal_connect() Instead connect all signals here
2008-04-26 Soren Sandmann <sandmann@daimi.au.dk>
* sysprof.c (build_gui): Remove all calls to g_signal_connect()
* sysprof.c (connect_signals): Instead connect all signals here
svn path=/trunk/; revision=413
Soren Sandmann [Sat, 26 Apr 2008 07:24:08 +0000 (07:24 +0000)]
Add various constants
2008-04-26 Soren Sandmann <sandmann@daimi.au.dk>
* unwind.c: Add various constants
svn path=/trunk/; revision=412
Søren Sandmann Pedersen [Mon, 21 Apr 2008 20:12:36 +0000 (20:12 +0000)]
More build-id work
svn path=/trunk/; revision=411
Søren Sandmann Pedersen [Sun, 20 Apr 2008 20:58:11 +0000 (20:58 +0000)]
Initial build id support
svn path=/trunk/; revision=410
Owen Taylor [Tue, 1 Apr 2008 17:46:06 +0000 (17:46 +0000)]
Constrain the samples label to only grow wider instead of bouncing around.
2008-04-01 Owen Taylor <otaylor@redhat.com>
* sysprof.c (on_samples_label_size_request): Constrain the
samples label to only grow wider instead of bouncing around.
svn path=/trunk/; revision=409
Søren Sandmann Pedersen [Sat, 29 Mar 2008 23:02:01 +0000 (23:02 +0000)]
Split decode_entry
svn path=/trunk/; revision=408