[yocto] [PATCH] Update Powertop command for YP SDK

Ioana Grigoropol ioanax.grigoropol at intel.com
Wed Jul 10 04:01:44 PDT 2013


- powertop package has been updated from 1.13 to 2.3 and the command line options have changed
	- option '-d' no longer exists -> option --debug seems to its successor
	- option '-t' is not documented, but still works -> changed to --time, which is documented

[Yocto #4830]
Signed-off-by: Ioana Grigoropol <ioanax.grigoropol at intel.com>
---
 .../sdk/remotetools/actions/PowertopModel.java     |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/PowertopModel.java b/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/PowertopModel.java
index af6cca0..79bef61 100644
--- a/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/PowertopModel.java
+++ b/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/PowertopModel.java
@@ -60,7 +60,7 @@ public class PowertopModel extends BaseModel {
 		remoteFile = new String(REMOTE_FILE_PREFIX + currentDate);
 		localFile = new String(remoteFile + LOCAL_FILE_SUFFIX);
 		
-		String args = "start -l " + remoteFile + " powertop -d -t " + time.toString();
+		String args = "start -l " + remoteFile + " powertop --debug --time " + time.toString();
 		if(showpid)
 			args += " -p";
 		runRemoteShellExec(monitor, args, true);
-- 
1.7.9.5




More information about the yocto mailing list