turbostat: Build fixes, 32-bit support, and cleanups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 2 repliesIn review
- v11 patch 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | turbostat: Don't put unprocessed uapi headers in the include pathtools/ tools/ | +2 | 0 replies | |
| 2/8 | turbostat: Don't attempt to printf an off_t with %zxtools/ | +1 | 0 replies | |
| 3/8 | turbostat: Use GCC's CPUID functions to support PICtools/ | +6 | 0 replies | |
| 4/8 | turbostat: Check return value of fscanftools/ | +16 | 0 replies | |
| 5/8 | turbostat: Add a helper to parse a single int out of a filetools/ | +24 | 0 replies | |
| 6/8 | turbostat: Factor out common function to open file and exit on failuretools/ | +16 | 1 reply | |
| 7/8 | turbostat: Clean up error handling; disambiguate error messages; use err and errxtools/ | +38 | 0 replies | |
| 8/8 | turbostat: Add a .gitignore to ignore the compiled turbostat binarytools/ | +1 | 0 replies |
Reviews trailers per patch
None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Mike Frysinger |
|---|---|
| Series | A-b |
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/8] turbostat: Build fixes, 32-bit support, and cleanups
This patch series includes build fixes, warning fixes, and cleanups discovered while adding turbostat to ChromeOS.
The first and third patches should go into stable, and I've CCed them accordingly.
The first patch unbreaks the turbostat build on systems with older versions of kernel headers.
The third patch is required to build on 32-bit x86.
The second and fourth patches fix warnings.
Patches 5-7 are code cleanups, and the last patch adds turbostat itself to .gitignore.
Josh Triplett (8):
turbostat: Don't put unprocessed uapi headers in the include path
turbostat: Don't attempt to printf an off_t with %zx
turbostat: Use GCC's CPUID functions to support PIC
turbostat: Check return value of fscanf
turbostat: Add a helper to parse a single int out of a file
turbostat: Factor out common function to open file and exit on failure
turbostat: Clean up error handling; disambiguate error messages; use
err and errx
turbostat: Add a .gitignore to ignore the compiled turbostat binary
tools/power/x86/turbostat/.gitignore | 1 + tools/power/x86/turbostat/Makefile | 2 +- tools/power/x86/turbostat/turbostat.c | 210 +++++++++++++--------------------- 3 files changed, 82 insertions(+), 131 deletions(-) create mode 100644 tools/power/x86/turbostat/.gitignore
Signature · 1 line
1.8.4.rc3