add get_test_core from sample test
add lib/hugepage.h