Draft
Conversation
Implementing ASAN builds and invocations of DPDK, this requires: - LD_PRELOAD to force loading of the libasan.so library before others to hook malloc and free etc. - setting a meson build option -Db_sanitize=address - enlightening the Installer class to be aware of whether ASAN is desired. - passing a runbook option through to the DpdkTestpmd class from initialize_node_resources - setting ASAN_OPTIONS=detect_leaks=0 since we don't care about memory leaks during teardown. ASAN and DPDK are not enabled globally for all testing (yet). It's useful for debugging segfaults and memory corruption during patch testing so I'd like to make using it easier. testpmd
61dc652 to
c1495b3
Compare
c1495b3 to
9953e93
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implementing ASAN builds and invocations of DPDK, this requires:
ASAN and DPDK are not enabled globally for all testing (yet). It's useful for debugging segfaults and memory corruption during patch testing so I'd like to make using it easier.
With this PR series, you can set "dpdk_use_asan" to true in a runbook and build with ASAN.