When installing nvbit following the README in gs_patterns/nvbit_tracing/README, there seems to be 3 errors when trying to compile on the last step using make -j. These issues arise when one does NVBit installation within the gs_patterns/nvbit_tracing/ folder, and these issues likely have different fixes if one were to install NVBit in a separate location.
- After doing the copy
cp -rv gs_patterns/nvbit_tracing/gsnv_trace $NVBIT_DIR/tools/, the Makefile's paths are incorrectly defined. The definition GSPATTERNS_CORE_PATH=../../../gs_patterns needs to be updated to GSPATTERNS_CORE_PATH=../../../../../gs_patterns.
- The copy additionally seems to cause a header issue within
gsnv_trace.cu and inject_funcs.cu, where the definition of mem_access_t in common.h is defined multiple times. To fix this, I personally changed the include path in those 2 files from #include "common.h" to #include "../../../gsnv_trace/common.h". There is likely a better method of patching this.