Commit Graph

384 Commits

Author SHA1 Message Date
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
5d06134d54 Split decode_entry
svn path=/trunk/; revision=408
2008-03-29 23:02:01 +00:00
a2f8d00fc2 Work around GTK+ ABI break.
2008-03-29  Soren Sandmann <sandmann@daimi.au.dk>

        Work around GTK+ ABI break.

        * sysprof.c (on_about_activated): Use "program-name" instead of
        "name" when the gtk+ minor version is >= 14.




svn path=/trunk/; revision=407
2008-03-29 22:18:42 +00:00
62ffe734b0 Call back after collecting all traces.
2008-03-24  Soren Sandmann <sandmann@daimi.au.dk>

        * collector.c (collect_traces): Call back after collecting all
        traces. 

        * TODO: update

        * process.c: Simpler code to find vmlinux 



svn path=/trunk/; revision=406
2008-03-29 19:08:01 +00:00
d2a6151f8d Beginning of a dwarf unwinder.
Sat Mar 29 11:14:38 2008  Søren Sandmann  <sandmann@redhat.com>

        * unwind.[ch], testunwind.c: Beginning of a dwarf unwinder.



svn path=/trunk/; revision=405
2008-03-29 16:00:33 +00:00
72ef8ca8c6 x86 merge happened in 2.6.25
Sat Mar 29 08:05:46 2008  Søren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c: x86 merge happened in 2.6.25



svn path=/trunk/; revision=404
2008-03-29 12:14:13 +00:00
ae59a75be4 Remove unnecessary show_samples
svn path=/trunk/; revision=403
2008-03-24 03:04:14 +00:00
26822b100c +2008-03-23 Soren Sandmann <sandmann@daimi.au.dk>
+
+       * sysprof.c (queue_show_samples): Update samples immediately when
+       reset and start is clicked.
+


svn path=/trunk/; revision=402
2008-03-24 03:00:49 +00:00
c2de993836 Use kernel builtin tracer instead of copying everything ourselves.
2008-03-20  Soren Sandmann <sandmann@redhat.com>
 
       * module/sysprof-module.c (trace_kernel): Use kernel builtin
       tracer instead of copying everything ourselves.


svn path=/trunk/; revision=401
2008-03-20 09:49:46 +00:00
83fd2bbc31 Support for 2.6.24 and newer
2008-03-20  Soren Sandmann <sandmann@redhat.com>

       * module/sysprof-module.c: Support for 2.6.24 and newer



svn path=/trunk/; revision=400
2008-03-20 07:19:13 +00:00
542967b1f7 Update a comment
svn path=/trunk/; revision=399
2008-03-02 00:08:21 +00:00
a585265cee Initialize offset to 1. Don't do kernel lookup for unmapped addresses.
2008-02-23  Soren Sandmann <sandmann@redhat.com>

	* process.c (process_lookup_symbol): Initialize offset to 1. Don't
	do kernel lookup for unmapped addresses. 


svn path=/trunk/; revision=398
2008-02-24 00:53:29 +00:00
b98db05f9b Add commented out code to reject callback.
2008-02-17  Soren Sandmann  <sandmann@redhat.com>

	* collector.c (lookup_symbol): Add commented out code to reject
	callback.

	* elfparser.c (struct ElfParser): Store the filename if any
	(elf_parser_get_sym_address): Subtract the load address, so the
	result will be an offset into the text section.

	* process.[ch] (process_lookup_symbol): Add an offset out-argument
	
	* binfile.[ch] (bin_symbol_get_address): New function

	* TODO: updates



svn path=/trunk/; revision=397
2008-02-17 23:31:19 +00:00
9d2f7a1a9d Add a memcpy() that uses nontemporal writes. (copy_kernel_stack): Add
2008-02-16  Soren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c (nt_memcpy): Add a memcpy() that uses
	nontemporal writes.
	(copy_kernel_stack): Add commented-out use of it here.



svn path=/trunk/; revision=396
2008-02-16 15:54:40 +00:00
64d220e346 Use hash table instead of list.
2007-11-20  Soren Sandmann <sandmann@daimi.au.dk>

        * binfile.c (find_separate_debug_file): Use hash table instead of
        list. 



svn path=/trunk/; revision=395
2007-11-20 23:50:21 +00:00
d3b5cc446f Update TODO
svn path=/trunk/; revision=394
2007-11-19 17:56:02 +00:00
8d73f2d391 Make heuristic stack scanning more accurate
2007-11-18  Soren Sandmann <sandmann@daimi.au.dk>

        * module/sysprof-module.c (heuristic_trace): Make heuristic stack
        scanning more accurate



svn path=/trunk/; revision=393
2007-11-19 03:34:19 +00:00
05c4a202b3 Crude heuristic stack scanning on x86-64.
Sun Nov 18 18:12:09 2007  Søren Sandmann  <sandmann@redhat.com>

       * module/sysprof-module.c (heuristic_trace): Crude heuristic stack
       scanning on x86-64.

       * module/sysprof-module.c (copy_kernel_stack): New function



svn path=/trunk/; revision=392
2007-11-18 23:11:52 +00:00
a68837a3ad Return ssize_t instead of int.
Sun Nov 18 13:23:39 2007  Søren Sandmann  <sandmann@redhat.com>

        * module/sysprof-module.c (sysprof_read): Return ssize_t instead
        of int.

        * module/sysprof-module.c (heuristic_trace): Beginning of
        heuristic user stack scanning.



svn path=/trunk/; revision=391
2007-11-18 18:29:34 +00:00
f7a138fa15 +2007-11-17 Soren Sandmann <sandmann@daimi.au.dk>
+
+       * collector.c (collector_create_profile): Don't collect traces here.
+


svn path=/trunk/; revision=390
2007-11-17 06:23:39 +00:00
41efdc9c7e Formatting
2007-11-16  Soren Sandmann <sandmann@daimi.au.dk>

	* module/sysprof-module.c (n_traces_available): Formatting
	
	* module/sysprof-module.c (sysprof_poll): Require 16 traces rather
	than 8. 
	

svn path=/trunk/; revision=389
2007-11-17 03:48:31 +00:00