RFC Perf misaligned address fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Fix event.c misaligned address errortools/ | +1 | 2 replies | |
| 2/2 | Fix evsel.c misaligned address errorstools/ | +16 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Numfor Mbiziwo-Tiapo |
|---|---|
| 1/2 | Not-Quite-Signed-off-by |
| 2/2 | Not-Quite-Signed-off-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC][PATCH 0/2] Perf misaligned address fixes
These patches are all errors found by running perf test with the ubsan (undefined behavior sanitizer version of perf).
They are solutions to misaligned address errors caught by ubsan but they would break compatibility between perf data files.
To build perf with ubsan run:
make -C tools/perf USE_CLANG=1 EXTRA_CFLAGS="-fsanitize=undefined"
Perf will throw errors that have been fixed in these patches that have not yet been merged:
https://lore.kernel.org/patchwork/patch/1104065/
https://lore.kernel.org/patchwork/patch/1104066/
Please feel free to leave comments.
Numfor Mbiziwo-Tiapo (2):
Fix event.c misaligned address error
Fix evsel.c misaligned address errors
tools/perf/util/event.h | 1 + tools/perf/util/evsel.c | 28 ++++++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-)
Signature · 1 line
2.22.0.657.g960e92d24f-goog