build: remove valgrind leftovers
Valgrind never really worked well with VPP. Remove the partial support. Type: refactor Change-Id: Ic09773fd85f904fdd2240bc161e23a4c2b196cf6 Signed-off-by: Benoît Ganne <bganne@cisco.com>
This commit is contained in:

committed by
Damjan Marion

parent
42bde459b6
commit
30cca512ce
@ -94,13 +94,6 @@ dpkg_cv_va_copy=yes
|
||||
ac_cv_search_clock_gettime=no
|
||||
gl_cv_fs_space=yes
|
||||
|
||||
######################################################################
|
||||
# valgrind
|
||||
######################################################################
|
||||
ac_cv_file__proc_self_fd=yes
|
||||
ac_cv_file__proc_self_exe=yes
|
||||
ac_cv_file__proc_self_maps=yes
|
||||
|
||||
######################################################################
|
||||
# tcpdump
|
||||
######################################################################
|
||||
|
@ -169,7 +169,6 @@ set(VPPINFRA_HEADERS
|
||||
types.h
|
||||
atomics.h
|
||||
unix.h
|
||||
valgrind.h
|
||||
valloc.h
|
||||
vec_bootstrap.h
|
||||
vec.h
|
||||
|
@ -53,7 +53,6 @@
|
||||
|
||||
#include <vppinfra/os.h>
|
||||
#include <vppinfra/string.h> /* memcpy, clib_memset */
|
||||
#include <vppinfra/valgrind.h>
|
||||
|
||||
#define CLIB_MAX_MHEAPS 256
|
||||
|
||||
@ -124,9 +123,6 @@ clib_mem_alloc_aligned_at_offset (uword size, uword align, uword align_offset,
|
||||
if (offset != ~0)
|
||||
{
|
||||
p = heap + offset;
|
||||
#if CLIB_DEBUG > 0
|
||||
VALGRIND_MALLOCLIKE_BLOCK (p, mheap_data_bytes (heap, offset), 0, 0);
|
||||
#endif
|
||||
return p;
|
||||
}
|
||||
else
|
||||
@ -235,10 +231,6 @@ clib_mem_free (void *p)
|
||||
#else
|
||||
mspace_put (heap, p);
|
||||
#endif
|
||||
|
||||
#if CLIB_DEBUG > 0
|
||||
VALGRIND_FREELIKE_BLOCK (p, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
always_inline void *
|
||||
|
@ -39,10 +39,6 @@
|
||||
#include <vppinfra/mheap.h>
|
||||
#include <vppinfra/os.h>
|
||||
|
||||
/* Valgrind stuff. */
|
||||
#include <vppinfra/memcheck.h>
|
||||
#include <vppinfra/valgrind.h>
|
||||
|
||||
void *clib_per_cpu_mheaps[CLIB_MAX_MHEAPS];
|
||||
|
||||
void
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user