chiark / gitweb /
Dynamically allocate bootchart logs
authorNathaniel Chen <nathaniel.chen@intel.com>
Wed, 24 Apr 2013 21:56:15 +0000 (14:56 -0700)
committerAuke Kok <auke-jan.h.kok@intel.com>
Thu, 2 May 2013 16:23:01 +0000 (09:23 -0700)
commit8dfb6e718d621a5115bd3b8e7e826195dc6bfe14
treee64c6e39a8a0578fee928795be62778ffa893e20
parent8368868452fc24536bf3322bfab536c66bf56a13
Dynamically allocate bootchart logs

Instead of storing bootchart sample data in arrays, this patch moves
storage to linked lists so that there is no more limit on samples.

This patch also fixes parsing of /proc/<pid>/smaps in kernels > 3.7.
src/bootchart/bootchart.c
src/bootchart/bootchart.h
src/bootchart/store.c [changed mode: 0644->0755]
src/bootchart/store.h
src/bootchart/svg.c