All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christy Lee <christylee@fb.com>
To: <andrii@kernel.org>, <arnaldo.melo@gmail.com>,
	<christyc.y.lee@gmail.com>
Cc: <bpf@vger.kernel.org>, <linux-perf-users@vger.kernel.org>,
	<kernel-team@fb.com>, Christy Lee <christylee@fb.com>
Subject: [PATCH bpf-next 0/2] deprecate bpf_object__open_buffer() API
Date: Mon, 24 Jan 2022 16:59:21 -0800	[thread overview]
Message-ID: <20220125005923.418339-1-christylee@fb.com> (raw)

Deprecate bpf_object__open_buffer() API, replace all usage
with bpf_object__open_mem().

  [0] closes: https://github.com/libbpf/libbpf/issues/287

Christy Lee (2):
  libbpf: mark bpf_object__open_buffer() API deprecated
  perf: stop using bpf_object__open_buffer() API

 tools/lib/bpf/libbpf.h       |  1 +
 tools/perf/tests/llvm.c      |  2 +-
 tools/perf/util/bpf-event.c  | 10 ++++++++++
 tools/perf/util/bpf-loader.c | 10 ++++++++--
 4 files changed, 20 insertions(+), 3 deletions(-)

-- 
2.30.2


             reply	other threads:[~2022-01-25  3:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-25  0:59 Christy Lee [this message]
2022-01-25  0:59 ` [PATCH bpf-next 1/2] libbpf: mark bpf_object__open_buffer() API deprecated Christy Lee
2022-01-25  0:59 ` [PATCH bpf-next 2/2] perf: stop using bpf_object__open_buffer() API Christy Lee
2022-01-25  4:48   ` Andrii Nakryiko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220125005923.418339-1-christylee@fb.com \
    --to=christylee@fb.com \
    --cc=andrii@kernel.org \
    --cc=arnaldo.melo@gmail.com \
    --cc=bpf@vger.kernel.org \
    --cc=christyc.y.lee@gmail.com \
    --cc=kernel-team@fb.com \
    --cc=linux-perf-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.