[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1524101646-6544-1-git-send-email-leo.yan@linaro.org>
Date: Thu, 19 Apr 2018 09:34:01 +0800
From: Leo Yan <leo.yan@...aro.org>
To: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Leo Yan <leo.yan@...aro.org>
Subject: [PATCH bpf-next 0/5] samples/bpf: Minor fixes and cleanup
This patch series is minor fixes and cleanup for bpf load and samples
code. The first one patch is typo fixing; patch 0002 is refactor for
dynamically allocate memory for kernel symbol structures; the last
three patches are mainly related with refactor with function
ksym_search(), the main benefit of this refactor is program sampleip
can be used without architecture dependency.
The patch series has been tested on ARM64 Hikey960 boards.
Leo Yan (5):
samples/bpf: Fix typo in comment
samples/bpf: Dynamically allocate structure 'syms'
samples/bpf: Use NULL for failed to find symbol
samples/bpf: Refine printing symbol for sampleip
samples/bpf: Handle NULL pointer returned by ksym_search()
samples/bpf/bpf_load.c | 29 +++++++++++++++++++++++------
samples/bpf/offwaketime_user.c | 5 +++++
samples/bpf/sampleip_user.c | 8 +++-----
samples/bpf/spintest_user.c | 5 ++++-
samples/bpf/trace_event_user.c | 5 +++++
5 files changed, 40 insertions(+), 12 deletions(-)
--
1.9.1
Powered by blists - more mailing lists