Re: [PATCH bpf-next v3] selftests/bpf: trace_helpers.c: optimize kallsyms cache

From: Rong Tao
Date: Tue Aug 15 2023 - 21:48:28 EST


Thanks, Daniel.

I just submit v4[0], make sure most cases we don't need the realloc() path to
begin with, and check strdup() return value.

[0] https://lore.kernel.org/lkml/tencent_59C74613113F0C728524B2A82FE5540A5E09@xxxxxx/

Rong Tao