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)
commit699c12a7cca376d16f75672f9047faa37b184eda
tree6a68d876b73f4b981003c0264c96eb0f51862117
parentc56cb33b56c13493eeb95612f80e4dd6e35cd109
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: 45ac1403f564 ("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