[systemd-devel] [PATCH] Dynamically allocate bootchart logs

Kok, Auke-jan H auke-jan.h.kok at intel.com
Thu May 2 09:58:12 PDT 2013


On Wed, Apr 24, 2013 at 4:26 PM, Nathaniel Chen
<nathaniel.chen at intel.com> wrote:
> 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 |  48 ++++--
>  src/bootchart/bootchart.h |  23 ++-
>  src/bootchart/store.c     |  96 ++++++++---
>  src/bootchart/store.h     |   3 +-
>  src/bootchart/svg.c       | 410 +++++++++++++++++++++++++++++++++++-----------
>  5 files changed, 437 insertions(+), 143 deletions(-)
>  mode change 100644 => 100755 src/bootchart/store.c

Applied!

I added an extra commit cleaning up MAXSAMPLES and 2 structs from
bootchart.h. :^)

Thanks for being around for 4 months on your internship - it was fun
working with you!

Cheers,

Auke


More information about the systemd-devel mailing list