tools/perf: tools: Fix perf build issues
Get series with b4
b4 am 162074534493.289757.1243545574686276554.stgit@devnote2Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | perf build: Move EXTRA_CFLAGS and EXTRA_WARNINGS at the end of CFLAGStools/ | +2 | 0 replies | |
| 2/2 | tools: Add -Wno-missing-field-initializers to for clangtools/ | +4 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Nick Desaulniers |
|---|---|
| 1/2 | |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] tools/perf: tools: Fix perf build issues
Hi,
These are the patches to fix the perf build issues which I reported in the previous email.
https://lore.kernel.org/lkml/162037766527.94840.4323848545957010011.stgit@devnote2/
There are 2 issues I found and are fixed with these patches.
- Since the EXTRA_CLFAGS/WARNINGS are listed before -Wall/-Wextra in CFLAGS, all -Wno-* flags in the EXTRA_CFLAGS/WARNINGS are ignored. This makes EXTRA_WARNINGS ignored and developers can not use EXTRA_CLFAGS for debugging compiler warnings.
- Clang's missing-field-initializers warning is too sensitive compared with GCC. I think "{ NULL }" kind of syntax is allowed for simplify code.
Thank you,
---
Masami Hiramatsu (2):
perf build: Move EXTRA_CFLAGS and EXTRA_WARNINGS at the end of CFLAGS
tools: Add -Wno-missing-field-initializers to for clang
tools/perf/Makefile.config | 3 ++- tools/scripts/Makefile.include | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-)
--
Masami Hiramatsu (Linaro) <[email protected]>