Update Powertop command for YP SDK
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]
Signed-off-by Ioana Grigoropol <[email protected]>
--- .../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
@@ -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