[PATCH 1/5] perf/x86/intel/pt: drop kernel-doc for deleted struct members

Randy Dunlap <[email protected]> Thu, 30 Jul 2026 16:34:25 -0700
Newsgroups org.kernel.vger.linux-perf-users,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
@lost and @topa_index are no longer part of struct pt_buffer so
delete their comment lines.

Warning: ../arch/x86/events/intel/pt.h:86 Excess struct member 'lost'
 description in 'pt_buffer'
Warning: ../arch/x86/events/intel/pt.h:86 Excess struct member
 'topa_index' description in 'pt_buffer'

Signed-off-by: Randy Dunlap <[email protected]>
---
New patch.

Cc: Peter Zijlstra <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: [email protected]
Cc: [email protected]


 arch/x86/events/intel/pt.h |    2 --
 1 file changed, 2 deletions(-)

--- linux-next-20260722.orig/arch/x86/events/intel/pt.h
+++ linux-next-20260722/arch/x86/events/intel/pt.h
@@ -58,7 +58,6 @@ struct pt_pmu {
  * @cur_idx:	current output region's index within @cur table
  * @output_off:	offset within the current output region
  * @data_size:	running total of the amount of data in this buffer
- * @lost:	if data was lost/truncated
  * @head:	logical write offset inside the buffer
  * @snapshot:	if this is for a snapshot/overwrite counter
  * @single:	use Single Range Output instead of ToPA
@@ -68,7 +67,6 @@ struct pt_pmu {
  * @stop_te:	STOP topa entry pointer
  * @intr_te:	INT topa entry pointer
  * @data_pages:	array of pages from perf
- * @topa_index:	table of topa entries indexed by page offset
  */
 struct pt_buffer {
 	struct list_head	tables;