Damjan Marion
edca8c6e75
vppinfra: don't fail if config.h is missing, fallback to defaults instead
...
Type: improvement
Change-Id: Idc82d40a16cbc8a401a8fb359bc63083f47361b9
Signed-off-by: Damjan Marion <damarion@cisco.com >
2021-04-28 17:23:22 +00:00
Nathan Skrzypczak
7ff514b32c
vppinfra: missing __clib_export
...
Type: fix
Change-Id: I2dbd435d04a09f632286e5d669edc5fafd384f94
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com >
2020-10-21 18:38:23 +00:00
Dave Barach
07619240c2
vppinfra: add export symbols
...
format_one_elog_event()
vec_len_not_inline()
vec_free_not_inline()
Type: fix
Signed-off-by: Dave Barach <dave@barachs.net >
Change-Id: I0432c1b41b985de380e0b73886d0b03ecc19c703
2020-10-18 07:17:18 -04:00
Damjan Marion
dae1c7ed38
vppinfra: explicitly export symbols
...
Type: improvement
Change-Id: I57a9f85f7df1fc48656b72592349f4c544302f77
Signed-off-by: Damjan Marion <damarion@cisco.com >
2020-10-17 21:01:42 +00:00
Dave Barach
e09ae01f67
vppinfra: minor tweaks for cgo interoperation
...
'type' is a keyword in golang, so s/type/event_type/ in elog.h and
elsewhere.
Add vec_len_not_inline(...), elog_write_file_not_inline(...) and
elog_read_file_not_inline(...) since the inline forms aren't usable.
More such tweaks may follow.
Type: improvement
Signed-off-by: Dave Barach <dave@barachs.net >
Change-Id: I9a80a6afa635f5cdedee554ee9abe400fafc1cb6
2020-08-19 07:04:36 -04:00
Dave Barach
98bd757787
vppinfra: add cmake option to grow vectors by 1
...
For debugging. Do not set this option in production.
Type: feature
Signed-off-by: Dave Barach <dave@barachs.net >
Change-Id: I5e59671c4932e064bc087b85bf9c62c6f3bf48cf
2020-02-13 07:46:36 +00:00
Dave Barach
a690fdbfe1
vppinfra: numa vector placement support
...
Type: feature
Signed-off-by: Dave Barach <dave@barachs.net >
Change-Id: I7e7d95a089dd849c1f01ecea84529d8dbf239f21
2020-02-05 23:38:56 +00:00
Benoît Ganne
9fb6d40eb3
misc: add address sanitizer heap instrumentation
...
Introduce AddressSanitizer support: https://github.com/google/sanitizers/
This starts with heap instrumentation. vlib_buffer, bihash and stack
instrumentation should follow.
Type: feature
Change-Id: I7f20e235b2f79db72efd0e756f22c75f717a9884
Signed-off-by: Benoît Ganne <bganne@cisco.com >
2019-11-27 10:50:28 +00:00
Florin Coras
9e041b10ee
vec: use memset in vec_resize_allocate_memory
...
Change-Id: I0ed28846060a774b1f6cdc1e4e5974a7e16f9f16
Signed-off-by: Florin Coras <fcoras@cisco.com >
2019-03-21 22:09:44 +00:00
Dave Barach
178cf493d0
Remove c-11 memcpy checks from perf-critical code
...
Change-Id: Id4f37f5d4a03160572954a416efa1ef9b3d79ad1
Signed-off-by: Dave Barach <dave@barachs.net >
2018-11-14 15:54:01 +00:00
Dave Barach
b7b929931a
c11 safe string handling support
...
Change-Id: Ied34720ca5a6e6e717eea4e86003e854031b6eab
Signed-off-by: Dave Barach <dave@barachs.net >
2018-10-23 13:06:46 +00:00
Dave Barach
6a5adc3695
Add config option to use dlmalloc instead of mheap
...
Configure w/ --enable-dlmalloc, see .../build-data/platforms/vpp.mk
src/vppinfra/dlmalloc.[ch] are slightly modified versions of the
well-known Doug Lea malloc. Main advantage: dlmalloc mspaces have no
inherent size limit.
Change-Id: I19b3f43f3c65bcfb82c1a265a97922d01912446e
Signed-off-by: Dave Barach <dave@barachs.net >
2018-07-18 12:09:42 +00:00
Damjan Marion
7cd468a3d7
Reorganize source tree to use single autotools instance
...
Change-Id: I7b51f88292e057c6443b12224486f2d0c9f8ae23
Signed-off-by: Damjan Marion <damarion@cisco.com >
2016-12-28 12:25:14 +01:00