summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
AgeCommit message (Collapse)Author
2021-09-10perf scripts python: Fix passing arguments to stackcollapse reportMichael Petlan
The '--' prevented arguments from being passed to the script, such as: $ perf script report stackcollapse -i my_perf.data Signed-off-by: Michael Petlan <mpetlan@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> LPU-Reference: 20200427142327.21172-1-mpetlan@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-06-21perf script: Add stackcollapse.py scriptPaolo Bonzini
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>
rnel/commit/drivers/phy/phy-sun4i-usb.c?id=8665c18bece7965c3690ac3824bef2f97bae3d71'>phy-sun4i-usb: Add support for monitoring vbus via a power-supplyHans de Goede 2015-07-25phy-sun4i-usb: Add support for boards with broken Vusb-detectionHans de Goede 2015-07-25phy-sun4i-usb: Add support for the usb-phys on the sun8i-a33 SoCHans de Goede 2015-07-25phy-sun4i-usb: Add support for the usb-phys on the sun8i-a23 SoCHans de Goede 2015-07-25phy-sun4i-usb: Swap check for disconnect thresholdHans de Goede 2015-07-25phy-sun4i-usb: Add extcon support for the otg phy (phy0)Hans de Goede 2015-07-25phy-sun4i-usb: Add id and vbus detection support for the otg phy (phy0)Hans de Goede 2015-05-27phy: sun4i-usb: Add a sunxi specific function for setting squelch-detectHans de Goede 2014-12-23phy-sun4i-usb: Change disconnect threshold value for sun6iHans de Goede 2014-11-22phy: remove the old lookup methodHeikki Krogerus 2014-11-13phy: sun4i: add support for USB phy0Roman Byshko