Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/476308/?format=api
{ "id": 476308, "url": "http://patchwork.ozlabs.org/api/patches/476308/?format=api", "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/1432591007-27689-5-git-send-email-thomas.petazzoni@free-electrons.com/", "project": { "id": 27, "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api", "name": "Buildroot development", "link_name": "buildroot", "list_id": "buildroot.buildroot.org", "list_email": "buildroot@buildroot.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1432591007-27689-5-git-send-email-thomas.petazzoni@free-electrons.com>", "list_archive_url": null, "date": "2015-05-25T21:56:47", "name": "[v4,2015.08,4/4] docs/manual: add section about size graphing", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "a4058b8dd6284e06295c6b438cd494dfa1cccd8b", "submitter": { "id": 2230, "url": "http://patchwork.ozlabs.org/api/people/2230/?format=api", "name": "Thomas Petazzoni", "email": "thomas.petazzoni@free-electrons.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/1432591007-27689-5-git-send-email-thomas.petazzoni@free-electrons.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/476308/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/476308/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<buildroot-bounces@busybox.net>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "buildroot@lists.busybox.net" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "buildroot@osuosl.org" ], "Received": [ "from whitealder.osuosl.org (whitealder.osuosl.org\n\t[140.211.166.138])\n\tby ozlabs.org (Postfix) with ESMTP id A6F5D1402B5\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 26 May 2015 07:57:10 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id EC36B915E2;\n\tMon, 25 May 2015 21:57:09 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id wVI2I26A2Lgu; Mon, 25 May 2015 21:57:06 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 1D0609153A;\n\tMon, 25 May 2015 21:56:59 +0000 (UTC)", "from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137])\n\tby ash.osuosl.org (Postfix) with ESMTP id 4A30F1BFA9E\n\tfor <buildroot@lists.busybox.net>;\n\tMon, 25 May 2015 21:56:54 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 47B07A2FE6\n\tfor <buildroot@lists.busybox.net>;\n\tMon, 25 May 2015 21:56:54 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id 6img6lN1lzeQ for <buildroot@lists.busybox.net>;\n\tMon, 25 May 2015 21:56:53 +0000 (UTC)", "from mail.free-electrons.com (down.free-electrons.com\n\t[37.187.137.238])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id D2828A2FEE\n\tfor <buildroot@uclibc.org>; Mon, 25 May 2015 21:56:52 +0000 (UTC)", "by mail.free-electrons.com (Postfix, from userid 106)\n\tid 8DAFF800; Mon, 25 May 2015 23:56:52 +0200 (CEST)", "from localhost (AToulouse-657-1-1132-11.w92-156.abo.wanadoo.fr\n\t[92.156.54.11])\n\tby mail.free-electrons.com (Postfix) with ESMTPSA id 504C6279;\n\tMon, 25 May 2015 23:56:52 +0200 (CEST)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "From": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>", "To": "buildroot@uclibc.org", "Date": "Mon, 25 May 2015 23:56:47 +0200", "Message-Id": "<1432591007-27689-5-git-send-email-thomas.petazzoni@free-electrons.com>", "X-Mailer": "git-send-email 2.1.0", "In-Reply-To": "<1432591007-27689-1-git-send-email-thomas.petazzoni@free-electrons.com>", "References": "<1432591007-27689-1-git-send-email-thomas.petazzoni@free-electrons.com>", "Cc": "Thomas Petazzoni <thomas.petazzoni@free-electrons.com>", "Subject": "[Buildroot] [PATCH v4 2015.08 4/4] docs/manual: add section about\n\tsize graphing", "X-BeenThere": "buildroot@busybox.net", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Discussion and development of buildroot <buildroot.busybox.net>", "List-Unsubscribe": "<http://lists.busybox.net/mailman/options/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=unsubscribe>", "List-Archive": "<http://lists.busybox.net/pipermail/buildroot/>", "List-Post": "<mailto:buildroot@busybox.net>", "List-Help": "<mailto:buildroot-request@busybox.net?subject=help>", "List-Subscribe": "<http://lists.busybox.net/mailman/listinfo/buildroot>,\n\t<mailto:buildroot-request@busybox.net?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "buildroot-bounces@busybox.net", "Sender": "\"buildroot\" <buildroot-bounces@busybox.net>" }, "content": "Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>\n---\n docs/manual/common-usage.txt | 39 +++++++++++++++++++++++++++++++++++++++\n 1 file changed, 39 insertions(+)", "diff": "diff --git a/docs/manual/common-usage.txt b/docs/manual/common-usage.txt\nindex 5b27b1f..c7a14ce 100644\n--- a/docs/manual/common-usage.txt\n+++ b/docs/manual/common-usage.txt\n@@ -273,6 +273,45 @@ only other format supported is PNG:\n BR2_GRAPH_OUT=png make graph-build\n ----------------\n \n+=== Graphing the filesystem size contribution of packages\n+\n+When your target system grows, it is sometimes useful to understand\n+how much each Buildroot package is contributing to the overall root\n+filesystem size. To help with such an analysis, Buildroot collects\n+some data about which package installs which file, and can generate\n+graphs and CSVs files with the relevant data.\n+\n+To generate these data after a build, run:\n+\n+----------------\n+make size-stats\n+----------------\n+\n+This will generate:\n+\n+* +output/graphs/graph-size+, a pie chart of the contribution of each\n+ package to the overall root filesystem size\n+\n+* +output/build/package-size-stats.csv+, a CSV file giving the size\n+ contribution of each package to the overall root filesystem size\n+\n+* +output/build/file-size-stats.csv+, a CSV file giving the size\n+ contribution of each installed file to the package it belongs, and\n+ to the overall filesystem size.\n+\n+This +size-stats+ target requires the Python Matplotlib library to be\n+installed (+python-matplotlib+ on most distributions), and also the\n++argpase+ module if you're using a Python version older than 2.7\n+(+python-argparse+ on most distributions).\n+\n+Just like for the duration graph, a +BR2_GRAPH_OUT+ environment is\n+supported to adjust the output file format.\n+\n+.Note\n+The collected filesystem size data is only meaningful after a complete\n+clean rebuild. Be sure to run +make clean all+ before using +make\n+size-stats+.\n+\n include::eclipse-integration.txt[]\n \n include::advanced.txt[]\n", "prefixes": [ "v4", "2015.08", "4/4" ] }