Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Nov 7, 2014
  1. @abone28 @xrmx

    pybootchartgui: _parse_proc_ps_log rewrite with iterator

    abone28 authored xrmx committed
    Iterators use much less memory, so larger bootcharts
    may be processed without triggering OOM killer and
    massive swapping.
    
    On a (big) 11MB tarball this will have a performance penalty
    of about ~10% but consuming half the memory.
    
    Before:
    23.50user 1.20system 0:24.97elapsed 98%CPU (0avgtext+0avgdata 770048maxresident)k
    
    After:
    26.78user 0.44system 0:27.24elapsed 99%CPU (0avgtext+0avgdata 321192maxresident)k
Commits on Sep 30, 2014
  1. @xrmx

    Bump version to 0.14.7

    xrmx authored
Commits on Sep 5, 2014
  1. @xrmx

    Merge pull request #58 from Max-E/master

    xrmx authored
    Use /bin/sh instead of /bin/bash in bootchartd script
Commits on Sep 3, 2014
  1. bootchartd.in: no bashism

    Robert Yang authored Max Eliaser committed
    No bashism in bootchartd.in, so use /bin/sh.
    
    Upstream-Status: Pending
    
    Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
    Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Commits on Aug 14, 2014
  1. @xrmx
Commits on Aug 11, 2014
  1. @xrmx

    Update Michael's email

    xrmx authored
  2. @xrmx

    collector: don't leak dmesg buffer on error

    xrmx authored
    While at it rename the buffer from log to logbuf.
    
    Reported by Coverity.
  3. @xrmx

    collector: check fopen return value in find_chunks

    xrmx authored
    Reported by Coverity as CID #17820
  4. @xrmx

    collector: initialize sa_flags in setup_sigaction

    xrmx authored
    Again reported by Coverity as CID #17829
  5. @xrmx

    collector: properly zero netlink_recvrom buffer

    xrmx authored
    gcc warns that we may want to pass a fixed size to memset
    instead of calling sizeof of the src, it is right to suggest so
    since src here is a pointer to a char.
    Move the buffer initialization in the caller where the stack
    size of it is known.
  6. @xrmx

    collector: fix use of uninitialized variable in netlink_recvfrom

    xrmx authored
    Reported by Coverity as CID #17831
  7. @xrmx

    collector: properly initialize sigaction is setup_sigaction

    xrmx authored
    Reported by Coverity as CID #17829
  8. @xrmx

    collector: fix memory leak on opendir error

    xrmx authored
    Reported by Coverity as CID #17828
  9. @xrmx

    collector: fix memory leak on netlink socket error

    xrmx authored
    Reported by Coverity as CID #17821
  10. @xrmx

    collector: Fix off by one in bootchart_find_running_pid

    xrmx authored
    Fixes out-of-bounds write reported by Coverity as CID #17818
  11. @xrmx

    collector: Fix off by one in get_uptime

    xrmx authored
    Fixes Out-of-bound write reported by Coverity as CID 17819
  12. @xrmx

    pybootchartgui: fix ProcessTree.merge_logger()

    xrmx authored
    Starting with correcting LOGGER_PROC, this should be bootchartd
    which is the parent of all the bootchart-colle and pidof processes.
    Then rework the merge_logger to actually work and fit in my head.
    
    Fix #56
Commits on Aug 6, 2014
  1. @xrmx

    Merge pull request #55 from Max-E/master

    xrmx authored
     Fix bootchart2 never stopping on non-GUI operating systems with systemd.
Commits on Aug 5, 2014
  1. Rename systemd .service.in/.timer.in files to use bootchart2 name.

    Max Eliaser authored
    This does not make any functional difference, but brings the file names in the
    working directory in line with the file names used in the root filesystem. So,
    for example, /usr/lib/systemd/system/bootchart2.service now corresponds to
    bootchart2.service.in instead of bootchart.service.in.
    
    Signed-off-by: Max Eliaser <max.eliaser@intel.com>
  2. Fix bootchart2 never stopping on non-GUI operating systems with systemd.

    Max Eliaser authored
    This fixes a regression introduced in 56a638a, where the systemd files
    were renamed to use the bootchart2 name, but their dependencies on each other
    were not updated (so bootchart2.service still referred to the now nonexistant
    bootchart-done.timer instead of bootchart2-done.timer.)
    
    Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Commits on Jul 8, 2014
  1. @xrmx

    Bump version to 0.14.6

    xrmx authored
  2. @xrmx

    Update NEWS

    xrmx authored
Commits on Jul 7, 2014
  1. Merge pull request #54 from Max-E/master

    authored
    fix bootchart-collector on kernels with CONFIG_TASKSTATS=n
  2. fix bootchart-collector on kernels with CONFIG_TASKSTATS=n

    Max Eliaser authored
    The function get_family_id was supposed to return a negative number to
    indicate that the taskstats API was unavailable. However, its return value was
    stored to an unsigned variable, so this condition went undetected in the code.
    
    It now returns zero instead of a negative number, and this appears to fix the
    problem.
    
    Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Commits on Jul 2, 2014
  1. @xrmx

    Merge pull request #52 from Max-E/master

    xrmx authored
    fix chdir () in buffers_extract_and_dump being disabled for non-debug bu...
  2. fix chdir () in buffers_extract_and_dump being disabled for non-debug…

    Max Eliaser authored
    … builds
    
    This was caused by an incorrect implementation of a no-op assert macro and
    caused "bootchartd stop" to fail under certain circumstances.
Commits on Jul 1, 2014
  1. @xrmx

    Merge pull request #50 from Max-E/master

    xrmx authored
    Makefile: Respect "CC" environment variable.
  2. Makefile: Respect "CC" environment variable.

    Max Eliaser authored
    There are cases where someone might want to use another compiler besides GCC.
    There are also automated build systems (like Yocto) that depend on being able
    to override CC.
    
    Signed-off-by: Max Eliaser <max.eliaser@intel.com>
Commits on Oct 3, 2013
  1. @MattSANU @xrmx

    collector: freopen /proc/kmsg in write mode

    MattSANU authored xrmx committed
    freopen("/proc/kmsg", "a", stderr) => -EBADF
    ...but...
    freopen("/proc/kmsg", "w", stderr) => a valid FILE *
    
    I'm guessing that this fails in the append case because the
    underlying lseek call fails because /proc/kmsg is of length zero,
    or otherwise because it is not an on-disk file.
Commits on Sep 22, 2013
  1. @MattSANU @xrmx

    Ignore generated files

    MattSANU authored xrmx committed
Commits on Sep 18, 2013
  1. @xrmx

    Update Michael's email

    xrmx authored
Commits on Sep 17, 2013
  1. @MattSANU @xrmx

    collector: Add missing error checking

    MattSANU authored xrmx committed
  2. @xrmx

    Update NEWS

    xrmx authored
  3. @MattSANU @xrmx

    Ignore Eclipse project files

    MattSANU authored xrmx committed
  4. @MattSANU @xrmx

    Move declarations to beginning of block

    MattSANU authored xrmx committed
Something went wrong with that request. Please try again.