X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_malloc%2Frte_malloc.h;h=ce8a8d7bb94663c27b1e730b795c9e4c6c97a3b7;hb=591a9d7985c1230652d9f7ea1f9221e8c66ec188;hp=14a78b0b7a5235181be930959be290ad562a430d;hpb=c738c6a644e5a07fa98ede668775c08ec5321273;p=dpdk.git diff --git a/lib/librte_malloc/rte_malloc.h b/lib/librte_malloc/rte_malloc.h index 14a78b0b7a..ce8a8d7bb9 100644 --- a/lib/librte_malloc/rte_malloc.h +++ b/lib/librte_malloc/rte_malloc.h @@ -40,6 +40,7 @@ * from hugepages. */ +#include #include #include @@ -296,12 +297,14 @@ rte_malloc_get_socket_stats(int socket, * Dump for the specified type to the console. If the type argument is * NULL, all memory types will be dumped. * + * @param f + * A pointer to a file for output * @param type * A string identifying the type of objects to dump, or NULL * to dump all objects. */ void -rte_malloc_dump_stats(const char *type); +rte_malloc_dump_stats(FILE *f, const char *type); /** * Set the maximum amount of allocated memory for this type.