[PATCH] app/proc-info: remove unnecessary rte_malloc
fengchengwen
fengchengwen at huawei.com
Tue Aug 8 03:11:10 CEST 2023
Acked-by: Chengwen Feng <fengchengwen at huawei.com>
On 2023/8/8 4:43, Stephen Hemminger wrote:
> Better to use malloc() which is faster and has more error
> checking, as is done already for statistics.
>
> Fixes: 077c546704da ("app/proc_info: add metrics displaying")
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
> app/proc-info/main.c | 20 +++++++++-----------
> 1 file changed, 9 insertions(+), 11 deletions(-)
>
...
>
>
More information about the dev
mailing list