Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
vppinfra: numa vector placement support
[vpp.git]
/
src
/
vnet
/
unix
/
gdb_funcs.c
diff --git
a/src/vnet/unix/gdb_funcs.c
b/src/vnet/unix/gdb_funcs.c
index
6f0dd20
..
29011f0
100644
(file)
--- a/
src/vnet/unix/gdb_funcs.c
+++ b/
src/vnet/unix/gdb_funcs.c
@@
-37,6
+37,21
@@
vl (void *p)
return vec_len (p);
}
return vec_len (p);
}
+/**
+ * @brief GDB callable function: pvh - Return vector header of vector
+ *
+ * @param *p - void - address of vector
+ *
+ * @return vh - vec_header_t, the vector header
+ *
+ */
+vec_header_t *
+pvh (void *p)
+{
+ return _vec_find (p);
+}
+
+
/**
* @brief GDB callable function: pe - call pool_elts - number of elements in a pool
*
/**
* @brief GDB callable function: pe - call pool_elts - number of elements in a pool
*