summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorRoberto Agostino Vitillo <ravitillo@lbl.gov>2012-02-09 23:21:02 +0100
committerIngo Molnar <mingo@elte.hu>2012-03-09 08:26:05 +0100
commitbdfebd848f2a14e639031a0b0e61d7c7ee5e5fd2 (patch)
tree8ebcc7afda6b506dcd22d44bccdbd925c02b6768 /tools/perf/scripts/python/export-to-sqlite.py
parentb5387528f31d98acedf06e930554b563d87e2383 (diff)
downloadkernel-bdfebd848f2a14e639031a0b0e61d7c7ee5e5fd2.tar.gz
perf record: Add support for sampling taken branch
This patch adds a new option to enable taken branch stack sampling, i.e., leverage the PERF_SAMPLE_BRANCH_STACK feature of perf_events. There is a new option to active this mode: -b. It is possible to pass a set of filters to select the type of branches to sample. The following filters are available: - any : any type of branches - any_call : any function call or system call - any_ret : any function return or system call return - any_ind : any indirect branch - u: only when the branch target is at the user level - k: only when the branch target is in the kernel - hv: only when the branch target is in the hypervisor Filters can be combined by passing a comma separated list to the option: $ perf record -b any_call,u -e cycles:u branchy Signed-off-by: Roberto Agostino Vitillo <ravitillo@lbl.gov> Signed-off-by: Stephane Eranian <eranian@google.com> Cc: peterz@infradead.org Cc: acme@redhat.com Cc: robert.richter@amd.com Cc: ming.m.lin@intel.com Cc: andi@firstfloor.org Cc: asharma@fb.com Cc: vweaver1@eecs.utk.edu Cc: khandual@linux.vnet.ibm.com Cc: dsahern@gmail.com Link: http://lkml.kernel.org/r/1328826068-11713-13-git-send-email-eranian@google.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
Bart Van Assche 2024-12-04scsi: Rename .slave_alloc() and .slave_destroy()Bart Van Assche 2024-12-02Merge branch '6.13/scsi-queue' into 6.13/scsi-fixesMartin K. Petersen 2024-11-20scsi: megaraid_sas: Fix for a potential deadlockTomas Henzl 2024-10-02move asm/unaligned.h to linux/unaligned.hAl Viro 2024-09-12scsi: megaraid_sas: Remove trailing space after \n newlineColin Ian King 2024-06-28megaraid_sas: don't set QUEUE_FLAG_NOMERGESChristoph Hellwig 2024-05-21Merge tag 'pci-v6.10-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds 2024-05-16scsi: megaraid_sas: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACYDamien Le Moal 2024-04-11scsi: megaraid_sas: Switch to using ->device_configureChristoph Hellwig 2023-10-13Merge patch series "megaraid_sas: Driver version update to 07.727.03.00-rc1"Martin K. Petersen 2023-10-13scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selec...Chandrakanth patil 2023-09-05scsi: megaraid_sas: Fix deadlock on firmware crashdumpJunxiao Bi 2023-08-21scsi: megaraid_sas: Use pci_dev_id() to simplify the codeJialin Zhang 2023-05-26overflow: Add struct_size_t() helperKees Cook 2023-03-31Merge branch '6.3/scsi-fixes' into 6.4/scsi-stagingMartin K. Petersen 2023-03-24scsi: megaraid_sas: Fix fw_crash_buffer_show()Tomas Henzl 2023-03-24scsi: megaraid: Declare SCSI host template constBart Van Assche 2022-12-14Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds