libbpf: deprecate bpf_perf_event_read_simple() API#2344
libbpf: deprecate bpf_perf_event_read_simple() API#2344kernel-patches-bot wants to merge 2 commits intobpf-nextfrom
Conversation
|
Master branch: 3ccdcee |
|
Master branch: 1705c62 |
e16a5fb to
61a8b4a
Compare
|
Master branch: 35580f9 |
61a8b4a to
2495965
Compare
|
Master branch: 35580f9 |
2495965 to
2c58351
Compare
|
Master branch: 63d000c |
2c58351 to
72db82c
Compare
|
Master branch: 11f9983 |
72db82c to
9cfe78f
Compare
11f9983 to
9e6b19a
Compare
|
Master branch: 9e6b19a |
9cfe78f to
db8c71a
Compare
|
Master branch: e63a023 |
db8c71a to
fd6f9f0
Compare
|
Master branch: 5e22dd1 |
fd6f9f0 to
1a9e63e
Compare
|
Master branch: 218d747 |
1a9e63e to
cfbe306
Compare
|
Master branch: ca796fe |
cfbe306 to
c4efaa1
Compare
|
Master branch: ca796fe |
c4efaa1 to
51bae92
Compare
|
Master branch: 58d8a3f |
51bae92 to
bd7ce9d
Compare
|
Master branch: a5bebc4 |
bd7ce9d to
e89b379
Compare
|
Master branch: 2847993 |
e89b379 to
f88a793
Compare
|
Master branch: 2847993 |
With perf_buffer__poll() and perf_buffer__consume() APIs available, there is no reason to expose bpf_perf_event_read_simple() API to users. If users need custom perf buffer, they could re-implement the function. Mark bpf_perf_event_read_simple() and move the logic to a new static function so it can still be called by other functions in the same file. [0] Closes: libbpf/libbpf#310 Signed-off-by: Christy Lee <christylee@fb.com>
f88a793 to
99decfb
Compare
|
Master branch: 7218c28 Pull request is NOT updated. Failed to apply https://patchwork.kernel.org/project/netdevbpf/list/?series=601914 conflict: |
|
At least one diff in series https://patchwork.kernel.org/project/netdevbpf/list/?series=601914 irrelevant now. Closing PR. |
Pull request for series with
subject: libbpf: deprecate bpf_perf_event_read_simple() API
version: 1
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=601914