aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-06-21perf script: Add stackcollapse.py scriptPaolo Bonzini1-0/+3
Add stackcollapse.py script as an example of parsing call chains, and also of using optparse to access command line options. The flame graph tools include a set of scripts that parse output from various tools (including "perf script"), remove the offsets in the function and collapse each stack to a single line. The website also says "perf report could have a report style [...] that output folded stacks directly, obviating the need for stackcollapse-perf.pl", so here it is. This script is a Python rewrite of stackcollapse-perf.pl, using the perf scripting interface to access the perf data directly from Python. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Jiri Olsa <jolsa@kernel.org> Cc: Brendan Gregg <bgregg@netflix.com> Link: http://lkml.kernel.org/r/1460467573-22989-1-git-send-email-pbonzini@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1: Remove pid_namespace.h includeAlex Williamson1-1/+0 2017-01-13dmaengine: rcar-dmac: unmap slave resource when channel is freedNiklas Söderlund1-0/+8 2017-01-12vfio iommu type1: fix the testing of capability for remote taskJike Song1-2/+1 2017-01-12ceph: fix get_oldest_context()Geng, Jichao1-2/+2 2017-01-12ceph: fix mds cluster availability checkYan, Zheng1-0/+5 2017-01-12arm64: assembler: make adr_l work in modules under KASLRArd Biesheuvel1-9/+27 2017-01-12block: Rename blk_queue_zone_size and bdev_zone_sizeDamien Le Moal5-17/+17 2017-01-12KVM: x86: fix emulation of "MOV SS, null selector"Paolo Bonzini1-10/+38 2017-01-12capability: export has_capabilityJike Song1-0/+1 2017-01-12KVM: x86: fix NULL deref in vcpu_scan_ioapicWanpeng Li1-0/+2 2017-01-12KVM: eventfd: fix NULL deref irqbypass consumerWanpeng Li1-2/+2 2017-01-12KVM: x86: Introduce segmented_write_stdSteve Rutherford1-4/+18 2017-01-12KVM: x86: flush pending lapic jump label updates on module unloadDavid Matlack3-0/+8 2017-01-12jump_labels: API for flushing deferred jump label updatesDavid Matlack2-0/+12 2017-01-11HID: i2c-hid: Add sleep between POWER ON and RESETBrendan McGrath1-0/+9 2017-01-11vfio-mdev: remove some dead codeDan Carpenter1-3/+0 2017-01-11vfio-mdev: buffer overflow in ioctl()Dan Carpenter1-2/+5 2017-01-11vfio-mdev: return -EFAULT if copy_to_user() failsDan Carpenter1-3/+12 2017-01-11xfs: Timely free truncated dirty pagesJan Kara1-8/+11 2017-01-11nvme: apply DELAY_BEFORE_CHK_RDY quirk at probe time tooGuilherme G. Piccoli1-6/+1 2017-01-11nvme-rdma: fix nvme_rdma_queue_is_readyChristoph Hellwig1-1/+1 2017-01-11net: vrf: do not allow table id 0David Ahern1-0/+2 2017-01-11net: phy: marvell: fix Marvell 88E1512 used in SGMII modeRussell King1-1/+2 2017-01-11sctp: Fix spelling mistake: "Atempt" -> "Attempt"Colin Ian King1-1/+1 2017-01-11net: ipv4: Fix multipath selection with vrfDavid Ahern2-2/+9 2017-01-11cgroup: move CONFIG_SOCK_CGROUP_DATA to init/KconfigArnd Bergmann2-4/+4 2017-01-11gro: use min_t() in skb_gro_reset_offset()Eric Dumazet1-2/+3 2017-01-11arm64: hugetlb: fix the wrong return value for huge_ptep_set_access_flagsHuang Shijie1-1/+1 2017-01-10net/mlx5: Only cancel recovery work when cleaning up deviceDaniel Jurgens1-2/+4 2017-01-10net/mlx5e: Remove WARN_ONCE from adaptive moderation codeGil Rockah1-6/+1 2017-01-10net/mlx5e: Un-register uplink representor on nic_disableSaeed Mahameed1-7/+6 2017-01-10net/mlx5e: Properly handle FW errors while adding TC rulesOr Gerlitz1-7/+11 2017-01-10net/mlx5e: Fix kbuild warnings for uninitialized parametersHadar Hen Zion1-2/+2 2017-01-10net/mlx5e: Set inline mode requirements for matching on IP fragmentsOr Gerlitz1-0/+4 2017-01-10net/mlx5e: Properly get address type of encapsulation IP headersOr Gerlitz1-4/+9 2017-01-10net/mlx5e: TC ipv4 tunnel encap offload error flow fixesOr Gerlitz1-8/+8 2017-01-10net/mlx5e: Warn when rejecting offload attempts of IP tunnelsOr Gerlitz1-6/+24 2017-01-10net/mlx5e: Properly handle offloading of source udp port for IP tunnelsOr Gerlitz1-4/+8 2017-01-10timerfd: export defines to userspaceMike Frysinger3-19/+38 2017-01-10mm/hugetlb.c: fix reservation race when freeing surplus pagesMike Kravetz1-9/+28 2017-01-10mm/slab.c: fix SLAB freelist randomization duplicate entriesJohn Sperbeck1-4/+4 2017-01-10zram: support BDI_CAP_STABLE_WRITESMinchan Kim1-2/+11 2017-01-10zram: revalidate disk under init_lockMinchan Kim1-7/+1 2017-01-10mm: support anonymous stable pageMinchan Kim2-2/+21