linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] perf/core: Bail out early if the request AUX area is out of bound
@ 2023-08-04  7:29 Shuai Xue
  2023-08-04  7:29 ` [PATCH v4 1/2] " Shuai Xue
  2023-08-04  7:29 ` [PATCH v4 2/2] perf record: Update docs regarding the maximum limitation of AUX area Shuai Xue
  0 siblings, 2 replies; 10+ messages in thread
From: Shuai Xue @ 2023-08-04  7:29 UTC (permalink / raw)
  To: alexander.shishkin, peterz, james.clark, leo.yan
  Cc: mingo, baolin.wang, acme, mark.rutland, jolsa, namhyung, irogers,
	adrian.hunter, linux-perf-users, linux-kernel, nathan, bpf

changes since v3 (per James):
- change to return with existing value -ENOMEM
- split doc part to a separate patch since they are going to be merged through
  separate trees.

changes since v2:
- remove unnecessary overflow check (per Peter)

changes since v1:
- drop out patch2 because it has been fixed on upstream (Thanks James for reminding)
- move sanity check into rb_alloc_aux (per Leo)
- add overflow check (per James)

Shuai Xue (2):
  perf/core: Bail out early if the request AUX area is out of bound
  perf record: Update docs regarding the maximum limitation of AUX area

 kernel/events/ring_buffer.c              | 3 +++
 tools/perf/Documentation/perf-record.txt | 3 +++
 2 files changed, 6 insertions(+)

-- 
2.39.3


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

end of thread, other threads:[~2023-09-06  7:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-04  7:29 [PATCH v4 0/2] perf/core: Bail out early if the request AUX area is out of bound Shuai Xue
2023-08-04  7:29 ` [PATCH v4 1/2] " Shuai Xue
2023-08-04  8:59   ` Leo Yan
2023-08-04 11:24     ` Shuai Xue
2023-09-06  3:27       ` Shuai Xue
2023-09-06  7:02         ` Leo Yan
2023-09-06  7:07           ` Shuai Xue
2023-08-04  7:29 ` [PATCH v4 2/2] perf record: Update docs regarding the maximum limitation of AUX area Shuai Xue
2023-08-04  8:46   ` Leo Yan
2023-08-04 11:47     ` Shuai Xue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).