Commit Graph

404 Commits

Author SHA1 Message Date
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
e2811ea4f7 Reserve space in the samples label for large numbers.
This way, we don't need to reallocate the label every time it changes.
2009-08-17 09:34:10 -04:00
79921d7098 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.
2009-08-17 08:19:38 -04:00
9774bca836 TODO 2009-08-13 21:51:13 -04:00
4d216c0d11 Merge branch 'master' of git+ssh://git.gnome.org/git/sysprof 2009-02-22 11:13:26 -05:00
4dc5bc2276 Tweak percent sign format 2009-02-22 11:11:18 -05:00
d3b3393903 Add percent signs in screenshot window 2009-02-22 04:29:09 -05:00
97ac391be3 TODO 2009-02-22 01:04:30 -05:00
f83083dc42 TODO 2009-02-21 22:50:27 -05:00
5143df4e72 Get rid of hack to not fold recursions for "In file" symbols 2009-02-21 22:50:27 -05:00
fcfd231cb5 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.
2009-02-21 22:37:16 -05:00
adb87bbcf8 Add empty ChangeLog to appease automake 2009-02-21 04:14:55 -05:00
f8a5d34b44 Delete ChangeLog 2009-02-21 04:13:41 -05:00
18da1cd0be new enter_display_mode() function 2009-02-21 04:07:07 -05:00
b3893d6c75 Don't delete profile when toggling on_profile 2009-02-21 03:54:36 -05:00
ed34b54ef2 Select the first row in the object view when making the profile 2009-02-21 03:38:08 -05:00
6f939e3eea Disregard symbols that are not defined with respect to the text section 2009-02-21 02:27:45 -05:00
af294337bd Add percent signs; update TODO 2009-02-20 07:33:24 -05:00
8577c079dc Update configure banner to the latest version control system.
It was two version control systems behind.
2009-02-20 07:28:49 -05:00
b060e05909 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
2008-09-14 20:07:08 +00:00
e11dfce31f 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
2008-06-05 02:09:33 +00:00
155221f446 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
2008-06-02 05:36:32 +00:00
aacafe90f1 +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
2008-06-02 05:14:56 +00:00
edb974bcc8 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
2008-06-02 05:13:32 +00:00
10c747aa40 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
2008-06-02 04:59:01 +00:00
355818bf5b 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
2008-06-02 04:56:32 +00:00
7cd38113c8 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
2008-06-02 04:54:15 +00:00
736806aaa6 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
2008-06-02 03:17:27 +00:00
5b6c578c1a Update TODO
svn path=/trunk/; revision=426
2008-05-30 22:12:51 +00:00
3911e057d7 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
2008-05-08 13:27:06 +00:00
282783bf2b 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
2008-05-08 00:17:13 +00:00
1d1d5dd945 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
2008-04-26 08:47:29 +00:00
3e465571bb 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
2008-04-26 08:31:23 +00:00
b7619004e6 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
2008-04-26 08:09:48 +00:00
f585e31fde Add various constants
2008-04-26  Soren Sandmann <sandmann@daimi.au.dk>

        * unwind.c: Add various constants



svn path=/trunk/; revision=412
2008-04-26 07:24:08 +00:00
f49c3b5d2e More build-id work
svn path=/trunk/; revision=411
2008-04-21 20:12:36 +00:00
90d1fa1de5 Initial build id support
svn path=/trunk/; revision=410
2008-04-20 20:58:11 +00:00
12de20b938 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
2008-04-01 17:46:06 +00:00