platform/upstream/sysprof.git
15 years agoInitial port to perf counters
Søren Sandmann Pedersen [Sat, 5 Sep 2009 21:15:19 +0000 (17:15 -0400)]
Initial port to perf counters

15 years agoRemove unused profile_from_file variable
Søren Sandmann Pedersen [Sat, 22 Aug 2009 08:08:57 +0000 (04:08 -0400)]
Remove unused profile_from_file variable

15 years agoRename sysprof-text to sysprof-cli
Søren Sandmann Pedersen [Sat, 15 Aug 2009 07:24:52 +0000 (03:24 -0400)]
Rename sysprof-text to sysprof-cli

15 years agoDelete trailing whitespace
Søren Sandmann Pedersen [Mon, 17 Aug 2009 13:40:08 +0000 (09:40 -0400)]
Delete trailing whitespace

15 years agoReserve space in the samples label for large numbers.
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.

15 years agoFree the sfile formats after freeing the input/output files.
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.

15 years agoTODO
Søren Sandmann Pedersen [Fri, 14 Aug 2009 01:51:13 +0000 (21:51 -0400)]
TODO

15 years agoMerge branch 'master' of git+ssh://git.gnome.org/git/sysprof
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

15 years agoTweak percent sign format
Søren Sandmann Pedersen [Sun, 22 Feb 2009 16:11:18 +0000 (11:11 -0500)]
Tweak percent sign format

15 years agoAdd percent signs in screenshot window
Søren Sandmann Pedersen [Sun, 22 Feb 2009 09:29:09 +0000 (04:29 -0500)]
Add percent signs in screenshot window

15 years agoTODO
Søren Sandmann Pedersen [Sun, 22 Feb 2009 06:04:30 +0000 (01:04 -0500)]
TODO

15 years agoTODO
Søren Sandmann Pedersen [Sun, 22 Feb 2009 03:41:21 +0000 (22:41 -0500)]
TODO

15 years agoGet rid of hack to not fold recursions for "In file" symbols
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

15 years agoGive the samples label a minium width of "Samples: 888888"
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.

15 years agoAdd empty ChangeLog to appease automake
Søren Sandmann Pedersen [Sat, 21 Feb 2009 09:14:55 +0000 (04:14 -0500)]
Add empty ChangeLog to appease automake

15 years agoDelete ChangeLog
Søren Sandmann Pedersen [Sat, 21 Feb 2009 09:13:41 +0000 (04:13 -0500)]
Delete ChangeLog

15 years agonew enter_display_mode() function
Søren Sandmann Pedersen [Sat, 21 Feb 2009 09:07:07 +0000 (04:07 -0500)]
new enter_display_mode() function

15 years agoDon't delete profile when toggling on_profile
Søren Sandmann Pedersen [Sat, 21 Feb 2009 08:54:36 +0000 (03:54 -0500)]
Don't delete profile when toggling on_profile

15 years agoSelect the first row in the object view when making the 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

15 years agoDisregard symbols that are not defined with respect to the text section
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

15 years agoAdd percent signs; update TODO
Søren Sandmann Pedersen [Fri, 20 Feb 2009 12:33:24 +0000 (07:33 -0500)]
Add percent signs; update TODO

15 years agoUpdate configure banner to the latest version control system.
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.

16 years agoUpdate to work with new vm_operations interface from 2.6.23. Patch from
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

16 years agoApply patch from binutils to demangle local-source names. Binutils
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

16 years agoRemove weird comment.
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

16 years ago+Mon Jun 2 01:14:17 2008 Søren Sandmann <sandmann@redhat.com>
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

16 years agoSimplify loop.
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

16 years agoActually recurse on the debuglink.
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

16 years agoPlug leak
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

16 years agoKeep a list of elf files for each binary file. In some cases, notably
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

16 years agoDo not fold recursions for symbols starting with "In file".
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

16 years agoUpdate TODO
Søren Sandmann Pedersen [Fri, 30 May 2008 22:12:51 +0000 (22:12 +0000)]
Update TODO

svn path=/trunk/; revision=426

16 years agoReorder the tests for CONFIG_X86 and CONFIG_X86_64 since post 2.6.26, they
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

16 years agoFix bug where the build id name was generated incorrectly.
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

16 years agoDon't leak kallsyms
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

16 years agoGet rid of all calls to glade_xml_get_widget(). (gather_widgets): Instead
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

16 years agoRemove all calls to g_signal_connect() Instead connect all signals here
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

16 years agoAdd various constants
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

16 years agoMore build-id work
Søren Sandmann Pedersen [Mon, 21 Apr 2008 20:12:36 +0000 (20:12 +0000)]
More build-id work

svn path=/trunk/; revision=411

16 years agoInitial build id support
Søren Sandmann Pedersen [Sun, 20 Apr 2008 20:58:11 +0000 (20:58 +0000)]
Initial build id support

svn path=/trunk/; revision=410

16 years agoConstrain the samples label to only grow wider instead of bouncing around.
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

16 years agoSplit decode_entry
Søren Sandmann Pedersen [Sat, 29 Mar 2008 23:02:01 +0000 (23:02 +0000)]
Split decode_entry

svn path=/trunk/; revision=408

16 years agoWork around GTK+ ABI break.
Soren Sandmann [Sat, 29 Mar 2008 22:18:42 +0000 (22:18 +0000)]
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

16 years agoCall back after collecting all traces.
Soren Sandmann [Sat, 29 Mar 2008 19:08:01 +0000 (19:08 +0000)]
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

16 years agoBeginning of a dwarf unwinder.
Søren Sandmann [Sat, 29 Mar 2008 16:00:33 +0000 (16:00 +0000)]
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

16 years agox86 merge happened in 2.6.25
Søren Sandmann [Sat, 29 Mar 2008 12:14:13 +0000 (12:14 +0000)]
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

16 years agoRemove unnecessary show_samples
Søren Sandmann Pedersen [Mon, 24 Mar 2008 03:04:14 +0000 (03:04 +0000)]
Remove unnecessary show_samples

svn path=/trunk/; revision=403

16 years ago+2008-03-23 Soren Sandmann <sandmann@daimi.au.dk>
Søren Sandmann Pedersen [Mon, 24 Mar 2008 03:00:49 +0000 (03:00 +0000)]
+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

16 years agoUse kernel builtin tracer instead of copying everything ourselves.
Soren Sandmann [Thu, 20 Mar 2008 09:49:46 +0000 (09:49 +0000)]
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

16 years agoSupport for 2.6.24 and newer
Soren Sandmann [Thu, 20 Mar 2008 07:19:13 +0000 (07:19 +0000)]
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

16 years agoUpdate a comment
Søren Sandmann Pedersen [Sun, 2 Mar 2008 00:08:21 +0000 (00:08 +0000)]
Update a comment

svn path=/trunk/; revision=399

16 years agoInitialize offset to 1. Don't do kernel lookup for unmapped addresses.
Soren Sandmann [Sun, 24 Feb 2008 00:53:29 +0000 (00:53 +0000)]
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

16 years agoAdd commented out code to reject callback.
Soren Sandmann [Sun, 17 Feb 2008 23:31:19 +0000 (23:31 +0000)]
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

16 years agoAdd a memcpy() that uses nontemporal writes. (copy_kernel_stack): Add
Soren Sandmann [Sat, 16 Feb 2008 15:54:40 +0000 (15:54 +0000)]
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

16 years agoUse hash table instead of list.
Soren Sandmann [Tue, 20 Nov 2007 23:50:21 +0000 (23:50 +0000)]
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

16 years agoUpdate TODO
Søren Sandmann Pedersen [Mon, 19 Nov 2007 17:56:02 +0000 (17:56 +0000)]
Update TODO

svn path=/trunk/; revision=394

16 years agoMake heuristic stack scanning more accurate
Soren Sandmann [Mon, 19 Nov 2007 03:34:19 +0000 (03:34 +0000)]
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

16 years agoCrude heuristic stack scanning on x86-64.
Søren Sandmann [Sun, 18 Nov 2007 23:11:52 +0000 (23:11 +0000)]
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

16 years agoReturn ssize_t instead of int.
Søren Sandmann [Sun, 18 Nov 2007 18:29:34 +0000 (18:29 +0000)]
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

16 years ago+2007-11-17 Soren Sandmann <sandmann@daimi.au.dk>
Søren Sandmann Pedersen [Sat, 17 Nov 2007 06:23:39 +0000 (06:23 +0000)]
+2007-11-17  Soren Sandmann <sandmann@daimi.au.dk>
+
+       * collector.c (collector_create_profile): Don't collect traces here.
+

svn path=/trunk/; revision=390

16 years agoFormatting
Soren Sandmann [Sat, 17 Nov 2007 03:48:31 +0000 (03:48 +0000)]
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

16 years agoupdates
Soren Sandmann [Sat, 17 Nov 2007 02:53:22 +0000 (02:53 +0000)]
updates

2007-11-16  Soren Sandmann <sandmann@daimi.au.dk>

* TODO: updates

* module/sysprof-module.c (sysprof_poll): Only select readable
when there is at least eight traces available

* collector.c (collect_traces): New function, old on_read()

* collector.c (collector_create_profile): Collect traces here as
well.

svn path=/trunk/; revision=388

17 years agoUpdates
Soren Sandmann [Fri, 16 Nov 2007 07:47:22 +0000 (07:47 +0000)]
Updates

2007-11-16  Soren Sandmann <sandmann@daimi.au.dk>

* TODO: Updates

* process.c (process_locate_map): Move map to front

* profile.c (profile_load): Ignore the toplevel field in the file
since we can compute it ourselves.

* stackstash.c (stack_stash_decorate): New function

* stackstash.c (stack_stash_add_trace): Decorate the tree lazily
instead of on each sample.

svn path=/trunk/; revision=387

17 years agoUpdate TODO
Søren Sandmann Pedersen [Tue, 30 Oct 2007 01:48:27 +0000 (01:48 +0000)]
Update TODO

svn path=/trunk/; revision=386

17 years agoUse an array instead of a list. Look for vmlinux in the source directory.
Soren Sandmann [Thu, 25 Oct 2007 02:45:54 +0000 (02:45 +0000)]
Use an array instead of a list. Look for vmlinux in the source directory.

2007-10-22  Soren Sandmann <sandmann@daimi.au.dk>

        * process.c (look_for_vmlinux): Use an array instead of a
        list. Look for vmlinux in the source directory.

        * elfparser.c (elf_parser_get_crc32): Only use MADV_DONTNEED if
        the data is file-backed.

        * TODO: updates.

        Various formatting fixes

svn path=/trunk/; revision=385

17 years agoMake this a two-pass algorithm, one pass to add the trace, and one to do
Soren Sandmann [Mon, 22 Oct 2007 14:11:01 +0000 (14:11 +0000)]
Make this a two-pass algorithm, one pass to add the trace, and one to do

2007-10-22  Soren Sandmann <sandmann@daimi.au.dk>

* profile.c (add_trace_to_tree): Make this a two-pass
algorithm, one pass to add the trace, and one to do the
accounting.

svn path=/trunk/; revision=384

17 years agoFix some spelling errors
Soren Sandmann [Mon, 22 Oct 2007 13:48:30 +0000 (13:48 +0000)]
Fix some spelling errors

2007-10-22  Soren Sandmann <sandmann@daimi.au.dk>

* sfile.c: Fix some spelling errors

* profile.[ch], sysprof.[ch]: Change "non_recursive" to
"cumulative" to match the UI

* profile.c (add_trace_to_tree): Add a couple of asserts.

* TODO: updates

svn path=/trunk/; revision=383

17 years agoAdd ChangeLog
Søren Sandmann Pedersen [Mon, 22 Oct 2007 04:41:58 +0000 (04:41 +0000)]
Add ChangeLog

svn path=/trunk/; revision=382

17 years agoDon't discard weak symbols.
Soren Sandmann [Mon, 22 Oct 2007 04:41:27 +0000 (04:41 +0000)]
Don't discard weak symbols.

2007-10-22  Soren Sandmann <sandmann@daimi.au.dk>

* elfparser.c (read_table): Don't discard weak symbols.

* elfparser.c (elf_parser_lookup_symbol): If the symbol has
unknown size, don't check that the address is in range.

svn path=/trunk/; revision=381

17 years agoAdd notes about releasing
Søren Sandmann Pedersen [Sun, 21 Oct 2007 22:24:47 +0000 (22:24 +0000)]
Add notes about releasing

svn path=/trunk/; revision=380

17 years agoRemove CFLAGS reminiscence of 2.4 support.
Soren Sandmann [Sun, 21 Oct 2007 21:35:39 +0000 (21:35 +0000)]
Remove CFLAGS reminiscence of 2.4 support.

2007-10-21  Soren Sandmann <sandmann@daimi.au.dk>

        * module/Makefile: Remove CFLAGS reminiscence of 2.4 support.

svn path=/trunk/; revision=375

17 years agoCall callback with an extra boolean indicating whether the sample read was
Soren Sandmann [Sat, 20 Oct 2007 23:51:35 +0000 (23:51 +0000)]
Call callback with an extra boolean indicating whether the sample read was

2007-10-20  Soren Sandmann <sandmann@daimi.au.dk>

       * collector.c (on_read): Call callback with an extra boolean
       indicating whether the sample read was the first one

       * collector.c (add_trace_to_stash): Allocate addresses on the
       stack if possible.

       * sysprof.c (on_new_sample): Only call update_sensitivity() on the
       first sample.

       * stackstash.c (stack_stash_add_trace): Move match to front

svn path=/trunk/; revision=373

17 years agoAdd support for looking up kernel symbols from /proc/kallsyms
Soren Sandmann [Mon, 17 Sep 2007 01:43:07 +0000 (01:43 +0000)]
Add support for looking up kernel symbols from /proc/kallsyms

2007-09-16  Soren Sandmann <sandmann@daimi.au.dk>

* process.c (process_lookup_kernel_symbol): Add support for
looking up kernel symbols from /proc/kallsyms

* sysprof-text.c (dump_data): Print note that the file is being
saved.

* module/sysprof-module.[ch] (timer_notify): Send a copy of the
kernel stack to userspace.

* collector.c: Do kernel symbol lookups.

svn path=/trunk/; revision=372

17 years agoCompute the size by simply summing the size of the siblings. They are
Soren Sandmann [Sun, 26 Aug 2007 05:41:59 +0000 (05:41 +0000)]
Compute the size by simply summing the size of the siblings. They are

2007-08-26  Soren Sandmann <sandmann@daimi.au.dk>

        * profile.c (profile_get_size): Compute the size by simply summing
        the size of the siblings. They are toplevel by definition, and
        this works if the siblings for some reason has the same address.

svn path=/trunk/; revision=371

17 years agoReformat and fix various minor issues.
Soren Sandmann [Sun, 26 Aug 2007 04:27:08 +0000 (04:27 +0000)]
Reformat and fix various minor issues.

2007-08-26  Soren Sandmann <sandmann@daimi.au.dk>

* treeviewutils.c (process_iter): Reformat and fix various minor
issues.

svn path=/trunk/; revision=370

17 years agoWork around GTK+ bug 405625.
Soren Sandmann [Sun, 26 Aug 2007 04:06:44 +0000 (04:06 +0000)]
Work around GTK+ bug 405625.

2007-08-25  Soren Sandmann <sandmann@daimi.au.dk>

        * treeviewutils.c (tree_view_set_model_with_default_sort): Work
        around GTK+ bug 405625.

svn path=/trunk/; revision=369

17 years agoTODO updates
Søren Sandmann Pedersen [Sun, 26 Aug 2007 03:55:15 +0000 (03:55 +0000)]
TODO updates

svn path=/trunk/; revision=368

17 years agoUpdate TODO
Søren Sandmann Pedersen [Sat, 11 Aug 2007 23:08:58 +0000 (23:08 +0000)]
Update TODO

svn path=/trunk/; revision=367

17 years agoUpdate TODO
Søren Sandmann Pedersen [Sat, 11 Aug 2007 23:06:08 +0000 (23:06 +0000)]
Update TODO

svn path=/trunk/; revision=366

17 years agoAdd MAINTAINERS
Søren Sandmann Pedersen [Wed, 8 Aug 2007 14:40:48 +0000 (14:40 +0000)]
Add MAINTAINERS

svn path=/trunk/; revision=365

17 years agoUpdate to use new tree view API.
Soren Sandmann [Sat, 4 Aug 2007 19:54:17 +0000 (19:54 +0000)]
Update to use new tree view API.

2007-08-04  Soren Sandmann <sandmann@daimi.au.dk>

        * sysprof.c: Update to use new tree view API.

        * treeviewutils.c: Do customized sorting to get default sort
        orders on columns. Workaround GTK+ bug 333791.

svn path=/trunk/; revision=364

17 years ago+ * elfparser.c (elf_parser_get_crc32): madvise()
Soren Sandmann [Sat, 24 Mar 2007 17:56:20 +0000 (17:56 +0000)]
+ * elfparser.c (elf_parser_get_crc32): madvise()

 2007-03-24  Soren Sandmann <sandmann@daimi.au.dk>

+       * elfparser.c (elf_parser_get_crc32): madvise()

svn path=/trunk/; revision=363

17 years agoUpdate screenshot window in an idle handler to deal with the case where
Soren Sandmann [Sat, 24 Mar 2007 17:53:43 +0000 (17:53 +0000)]
Update screenshot window in an idle handler to deal with the case where

2007-03-24  Soren Sandmann <sandmann@daimi.au.dk>

        * sysprof.c (update_screenshot_window): Update screenshot window
        in an idle handler to deal with the case where someone presses
        "Shift Right Arrow"

svn path=/trunk/; revision=362

17 years agoNew function. Only warn once about bad CRC's.
Søren Sandmann [Mon, 5 Mar 2007 21:53:57 +0000 (21:53 +0000)]
New function. Only warn once about bad CRC's.

Mon Mar  5 16:55:39 2007  Søren Sandmann  <sandmann@redhat.com>

        * binfile.c (already_warned): New function. Only warn once about
        bad CRC's.

svn path=/trunk/; revision=361

17 years agoMake this function static
Soren Sandmann [Fri, 2 Mar 2007 06:36:34 +0000 (06:36 +0000)]
Make this function static

 2007-03-02  Soren Sandmann <sandmann@daimi.au.dk>

       * sysprof-text.c (dump_data): Make this function static

svn path=/trunk/; revision=360

17 years agoRemove FIXME.
Soren Sandmann [Fri, 2 Mar 2007 06:30:42 +0000 (06:30 +0000)]
Remove FIXME.

2007-03-02  Soren Sandmann <sandmann@daimi.au.dk>

        * collector.c (collector_create_profile): Remove FIXME.

svn path=/trunk/; revision=359

17 years agoFree the undefined symbol
Soren Sandman [Fri, 2 Mar 2007 06:27:05 +0000 (06:27 +0000)]
Free the undefined symbol

2007-03-02  Soren Sandman <sandmann@daimi.au.dk>

* process.c (free_process): Free the undefined symbol

svn path=/trunk/; revision=358

17 years agoMake a copy of the vdso bytes to make valgrind a little quieter.
Soren Sandmann [Fri, 2 Mar 2007 06:21:37 +0000 (06:21 +0000)]
Make a copy of the vdso bytes to make valgrind a little quieter.

2007-03-02  Soren Sandmann <sandmann@daimi.au.dk>

* process.c (process_get_vdso_bytes): Make a copy of the vdso
bytes to make valgrind a little quieter.

* binparser.c: Note to self: Save the file, *then* commit.

svn path=/trunk/; revision=357

17 years agoFix two leaks, both pointed out by Kjartan Maraas
Soren Sandmann [Fri, 2 Mar 2007 05:23:30 +0000 (05:23 +0000)]
Fix two leaks, both pointed out by Kjartan Maraas

2007-03-02  Soren Sandmann <sandmann@daimi.au.dk>

        Fix two leaks, both pointed out by Kjartan Maraas

        * binparser.c (bin_parser_free): Free the record list

        * elfparser.c (elf_parser_free): Free the symbol table.

svn path=/trunk/; revision=356

17 years agosvn path=/trunk/; revision=355
Søren Sandmann Pedersen [Sun, 25 Feb 2007 04:15:51 +0000 (04:15 +0000)]
svn path=/trunk/; revision=355

svn path=/trunk/; revision=355

17 years agoUpdates
Soren Sandmann [Sat, 24 Feb 2007 08:49:51 +0000 (08:49 +0000)]
Updates

2007-02-24  Soren Sandmann <sandmann@daimi.au.dk>

        * TODO: Updates

        * binparser.[ch]: Get rid of BIN_UINTn types; replace with single
        BIN_UINT, where the user must provide the width

        * elfparser.c: Update to new binparser API

svn path=/trunk/; revision=354

17 years agoinclude correct header file
Søren Sandmann Pedersen [Sat, 24 Feb 2007 08:35:48 +0000 (08:35 +0000)]
include correct header file

svn path=/trunk/; revision=353

17 years agoSwitch to a simpler conceptual model. Update to binparser API changes.
Soren Sandman [Sat, 24 Feb 2007 07:15:24 +0000 (07:15 +0000)]
Switch to a simpler conceptual model. Update to binparser API changes.

2007-02-24  Soren Sandman <sandmann@daimi.au.dk>

        * binparser.[ch]: Switch to a simpler conceptual model.
        * elfparser.c: Update to binparser API changes.
        * TODO: updates

svn path=/trunk/; revision=352

17 years agosvn path=/trunk/; revision=351
Søren Sandmann Pedersen [Fri, 9 Feb 2007 22:04:45 +0000 (22:04 +0000)]
svn path=/trunk/; revision=351

svn path=/trunk/; revision=351

17 years agoUpdate copyright notices
Søren Sandmann [Fri, 9 Feb 2007 21:59:15 +0000 (21:59 +0000)]
Update copyright notices

Fri Feb  9 16:53:29 2007  Søren Sandmann  <sandmann@redhat.com>

* Update copyright notices

svn path=/trunk/; revision=350

17 years agoDon't store the size of the symbol. (elf_parser_lookup_symbol): Look it up
Søren Sandmann [Fri, 9 Feb 2007 21:30:01 +0000 (21:30 +0000)]
Don't store the size of the symbol. (elf_parser_lookup_symbol): Look it up

Fri Feb  9 16:16:34 2007  Søren Sandmann  <sandmann@redhat.com>

       * elfparser.c (struct ElfSym): Don't store the size of the symbol.
       (elf_parser_lookup_symbol): Look it up here instaed.

       * binfile.c (bin_file_free): Use pre-decrement instead of
       post-decrement.
       (bin_file_check_inode): Clarify the warning a little

svn path=/trunk/; revision=349

17 years agosysprof-icon-32.png Add a 32x32 version (also from Diana) of the icon.
Søren Sandmann [Mon, 22 Jan 2007 22:48:33 +0000 (22:48 +0000)]
sysprof-icon-32.png Add a 32x32 version (also from Diana) of the icon.

Mon Jan 22 17:42:29 2007  Søren Sandmann  <sandmann@redhat.com>

* sysprof-icon-32.png
* sysprof.c: Add a 32x32 version (also from Diana) of the icon.

Mon Jan 22 16:37:12 2007  Søren Sandmann  <sandmann@redhat.com>

* sysprof-icon-16/24/48.png:
* sysprof.c: Add new icons from Diana.

svn path=/trunk/; revision=348

17 years agoAdd new icons
Søren Sandmann Pedersen [Mon, 22 Jan 2007 21:43:36 +0000 (21:43 +0000)]
Add new icons

svn path=/trunk/; revision=347

17 years agoCorrect $PWD usage, so make install works from inside module/.
Behdad Esfahbod [Fri, 5 Jan 2007 21:39:25 +0000 (21:39 +0000)]
Correct $PWD usage, so make install works from inside module/.

2007-01-05  Behdad Esfahbod  <behdad@gnome.org>

        * module/Makefile: Correct $PWD usage, so make install works from
        inside module/.

svn path=/trunk/; revision=346

17 years agofile announce-1.0.8 was initially added on branch sysprof-1-0.
Søren Sandmann Pedersen [Sun, 10 Dec 2006 02:20:08 +0000 (02:20 +0000)]
file announce-1.0.8 was initially added on branch sysprof-1-0.