Skip to contentSkip to conversation

Update Powertop command for YP SDK

PATCH New Ioana Grigoropol 1 participant 1 message Jul 10, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Update Powertop command for YP SDK

- 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]
---
 .../sdk/remotetools/actions/PowertopModel.java     |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/PowertopModel.java +1 -1
index af6cca0..79bef61 100644
@@ -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);
Signature · 1 line
1.7.9.5