[lkml]   [2015]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[patch 09/10] perf_event_open.2: 4.1 add PERF_RECORD_ITRACE_START

This manpage patch relates to the addition of the PERF_RECORD_ITRACE_START
record type in the following commit:

commit ec0d7729bbaed4b9d2d3fada693278e13a3d1368
Author: Alexander Shishkin <>

perf: Add ITRACE_START record to indicate that tracing has started

Signed-off-by: Alexander Shishkin <>
Signed-off-by: Peter Zijlstra (Intel) <>
Cc: Borislav Petkov <>
Cc: Frederic Weisbecker <>
Cc: H. Peter Anvin <>
Cc: Kaixu Xia <>
Cc: Linus Torvalds <>
Cc: Mike Galbraith <>
Cc: Paul Mackerras <>
Cc: Robert Richter <>
Cc: Stephane Eranian <>
Cc: Thomas Gleixner <>
Signed-off-by: Ingo Molnar <>

Signed-off-by: Vince Weaver <>

diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
--- a/man2/perf_event_open.2
+++ b/man2/perf_event_open.2
@@ -2356,6 +2356,29 @@
buffer size.
+.BR PERF_RECORD_ITRACE_START " (since Linux 4.1)"
+\" ec0d7729bbaed4b9d2d3fada693278e13a3d1368
+This record indicates which process has initiated an instruction
+trace event, allowing tools to properly correlate the instruction
+addresses in the AUX buffer with the proper executable.
+ +4n
+struct {
+ struct perf_event_header header;
+ u32 pid;
+ u32 tid;
+.I pid
+process id of the thread starting an instruction trace.
+.I tid
+thread id of the thread starting an instruction trace.
.SS Overflow handling
Events can be set to notify when a threshold is crossed,

 \ /
  Last update: 2015-04-16 20:21    [W:0.030 / U:2.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site