]> git.baikalelectronics.ru Git - kernel.git/commit
perf intel-pt: Update documentation about context switch events
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 9 Nov 2016 14:04:05 +0000 (11:04 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 11 Nov 2016 16:18:52 +0000 (13:18 -0300)
commit753e9a0f367c1a787c8d8cc01255eecf6a5c83d8
tree6a68d876b73f4b981003c0264c96eb0f51862117
parenta1ba2c580e74d2b38148bb43745e07489168af62
perf intel-pt: Update documentation about context switch events

Since the unprivileged sched switch event was added in perf, PT doesn't
need need perf_event_paranoid=-1 anymore for per cpu decoding.

Add a note stating that that is only needed for kernels < 4.2.

Reported-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/http://lkml.kernel.org/n/tip-x2ybghpqxxn3zu0m8o7qi42r@git.kernel.org
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: b7204df04746 ("perf: Add PERF_RECORD_SWITCH to indicate context switches")
Link: http://lkml.kernel.org/n/tip-x2ybghpqxxn3zu0m8o7qi42r@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/intel-pt.txt