1. 02 6月, 2018 25 次提交
  2. 18 10月, 2017 1 次提交
  3. 25 6月, 2017 3 次提交
  4. 24 6月, 2017 2 次提交
  5. 13 4月, 2017 5 次提交
  6. 05 3月, 2017 1 次提交
  7. 01 3月, 2017 3 次提交
    • L
      tools/power turbostat: version 17.02.24 · e3942ed8
      Len Brown 提交于
      The turbostat before this last set of changes is obsolete.
      This new version can do a lot more, but it also has
      some different defaults, that might catch some off-guard.
      So it seems a good time to give a new version number.
      Signed-off-by: NLen Brown <len.brown@intel.com>
      e3942ed8
    • L
      tools/power turbostat: bugfix: --add u32 was printed as u64 · 5f3aea57
      Len Brown 提交于
      When the "u32" keyword is used with --add, it means that
      the output should be truncated to 32-bits.  This was not
      happening and all 64-bits were printed.
      
      Also, when no column name was used for an added MSR,
      The default column name was in deximal, eg. MSR16.
      Users report that they tend to use hex MSR numbers,
      so print them in hex.  To always fit into the columns,
      use the syntax M0x10.  Note that the user can always
      supply any column header that they want.
      
      eg --add msr0x10,MY_TSC
      Signed-off-by: NLen Brown <len.brown@intel.com>
      5f3aea57
    • L
      tools/power turbostat: show error on exec · 0815a3d0
      Len Brown 提交于
      When turbostat is run in one-shot command mode,
      the parent takes the 'before' counter snapshot,
      fork/exec/wait for the child to exit,
      takes the 'after' counter snapshot,
      and prints the results.
      
      however, if the child fails to exec the command,
      it immediately returns, without indicating that
      anythign was wrong.
      
      Add an error message showing that exec failed:
      
      sudo turbostat sleeeep 4
      ...
      turbostat: exec sleeeep: No such file or directory
      ...
      
      Note that the parent will still print out the statistics,
      because it can't tell the difference between the failed
      exec and a command that is purposefully returning
      the same status.  Unfortunately, this may obscure the
      error message.  However, if the --out parameter is used,
      the error message is evident on stderr.
      Reported-by: NWendy Wang <wendy.wang@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      0815a3d0