All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next v2 0/2] perf: stop using deprecated bpf APIs
@ 2022-01-06 20:00 Christy Lee
  2022-01-06 20:00 ` [PATCH bpf-next v2 1/2] perf: stop using deprecated bpf_prog_load() API Christy Lee
  2022-01-06 20:00 ` [PATCH bpf-next v2 2/2] perf: stop using deprecated bpf__object_next() API Christy Lee
  0 siblings, 2 replies; 5+ messages in thread
From: Christy Lee @ 2022-01-06 20:00 UTC (permalink / raw)
  To: andrii, acme, jolsa
  Cc: christylee, christyc.y.lee, bpf, linux-perf-users, kernel-team,
	wangnan0, bobo.shaobowang, yuehaibing

libbpf's bpf_prog_load() and bpf__object_next() APIs are deprecated.
remove perf's usage of these deprecated functions. After this patch
set, the only remaining libbpf deprecated APIs in perf would be
bpf_program__set_prep() and bpf_program__nth_fd().

Changelog:
----------
v1 -> v2:
https://lore.kernel.org/all/20211216222108.110518-1-christylee@fb.com/

Patch 1/2:
Added missing commit message

Patch 2/2:
Added more details to commit message and added steps to reproduce
original test case.

Christy Lee (2):
  perf: stop using deprecated bpf_prog_load() API
  perf: stop using deprecated bpf__object_next() API

 tools/perf/tests/bpf.c       | 14 ++-----
 tools/perf/util/bpf-loader.c | 72 +++++++++++++++++++++++++++---------
 tools/perf/util/bpf-loader.h |  1 +
 3 files changed, 59 insertions(+), 28 deletions(-)

--
2.30.2

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-07  3:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-06 20:00 [PATCH bpf-next v2 0/2] perf: stop using deprecated bpf APIs Christy Lee
2022-01-06 20:00 ` [PATCH bpf-next v2 1/2] perf: stop using deprecated bpf_prog_load() API Christy Lee
2022-01-06 21:24   ` Andrii Nakryiko
2022-01-06 20:00 ` [PATCH bpf-next v2 2/2] perf: stop using deprecated bpf__object_next() API Christy Lee
2022-01-07  3:21   ` Yonghong Song

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.