Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 261647 Details for
Bug 345695
app-benchmarks/bootchart2-0.12.4.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
use variable instead of hardcoded /lib/bootchart/bootchart-collector
0001-Always-use-COLLECTOR_BIN.patch (text/plain), 1.28 KB, created by
Xake
on 2011-02-06 15:18:21 UTC
(
hide
)
Description:
use variable instead of hardcoded /lib/bootchart/bootchart-collector
Filename:
MIME Type:
Creator:
Xake
Created:
2011-02-06 15:18:21 UTC
Size:
1.28 KB
patch
obsolete
>From 2a9c5e5e87a56ac84bb695edf7ae222efb6569bc Mon Sep 17 00:00:00 2001 >From: Peter Hjalmarsson <xake@rymdraket.net> >Date: Sun, 6 Feb 2011 15:55:23 +0100 >Subject: [PATCH 1/2] Always use COLLECTOR_BIN > >it is already defined, so we might as well always use it. > >Thanks Lucian Muresan <lmuresan70@googlemail.com> for initial patch >--- > bootchartd | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/bootchartd b/bootchartd >index ee5ecc6..c6f4bff 100755 >--- a/bootchartd >+++ b/bootchartd >@@ -57,14 +57,14 @@ start() > # If in init start ourselves in our familiar system > if [ -n "$INIT_PROCESS" ]; then > # echo "bootchartd started in init" >> kmsg >- /lib/bootchart/bootchart-collector $SAMPLE_HZ >+ $COLLECTOR_BIN $SAMPLE_HZ > > # Otherwise, manually launched to profile something > else > # bail out, if already running > pidof bootchart-collector && exit 0 > # echo "bootchartd started manually" >> kmsg >- /lib/bootchart/bootchart-collector -r $SAMPLE_HZ & >+ $COLLECTOR_BIN -r $SAMPLE_HZ & > > if [ "$#" -gt 0 ]; then > # If a command was passed, run it >@@ -110,7 +110,7 @@ stop() > exit 1 > fi > >- if ! /lib/bootchart/bootchart-collector --dump $tmpdir; then >+ if ! $COLLECTOR_BIN --dump $tmpdir; then > echo "Can't extract boot chart from collector" > exit 1 > fi >-- >1.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 345695
:
254457
|
255851
|
261388
|
261647
|
261648
|
262087
|
262089
|
264331
|
264333
|
264335
|
264337
|
264341
|
264345
|
264347
|
275053
|
275055