Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf intel-pt: Add documentation for new config terms

Add documentation for new config terms.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1495786658-18063-13-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Adrian Hunter and committed by
Arnaldo Carvalho de Melo
2bc60ffd 9fd629f9

+36
+36
tools/perf/Documentation/intel-pt.txt
··· 364 364 365 365 CYC packets are not requested by default. 366 366 367 + pt Specifies pass-through which enables the 'branch' config term. 368 + 369 + The default config selects 'pt' if it is available, so a user will 370 + never need to specify this term. 371 + 372 + branch Enable branch tracing. Branch tracing is enabled by default so to 373 + disable branch tracing use 'branch=0'. 374 + 375 + The default config selects 'branch' if it is available. 376 + 377 + ptw Enable PTWRITE packets which are produced when a ptwrite instruction 378 + is executed. 379 + 380 + Support for this feature is indicated by: 381 + 382 + /sys/bus/event_source/devices/intel_pt/caps/ptwrite 383 + 384 + which contains "1" if the feature is supported and 385 + "0" otherwise. 386 + 387 + fup_on_ptw Enable a FUP packet to follow the PTWRITE packet. The FUP packet 388 + provides the address of the ptwrite instruction. In the absence of 389 + fup_on_ptw, the decoder will use the address of the previous branch 390 + if branch tracing is enabled, otherwise the address will be zero. 391 + Note that fup_on_ptw will work even when branch tracing is disabled. 392 + 393 + pwr_evt Enable power events. The power events provide information about 394 + changes to the CPU C-state. 395 + 396 + Support for this feature is indicated by: 397 + 398 + /sys/bus/event_source/devices/intel_pt/caps/power_event_trace 399 + 400 + which contains "1" if the feature is supported and 401 + "0" otherwise. 402 + 367 403 368 404 new snapshot option 369 405 -------------------