summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2025-05-20 11:37:26 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2025-05-20 13:11:09 -0300
commitba5f102eec56d61ef590d16ae53e47a4c882d7db (patch)
tree67756dbc86c245370dc84fe149db53a92dccbfad /tools/perf/scripts/python/syscall-counts.py
parente48b92f9e140ff632ad426c0a94e3630a61e45d8 (diff)
downloadkernel-ba5f102eec56d61ef590d16ae53e47a4c882d7db.tar.gz
perf ftrace: Use process/session specific trace settings
Executing 'perf ftrace' commands 'ftrace', 'profile' and 'latency' leave tracing disabled as can seen in this output: # echo 1 > /sys/kernel/debug/tracing/tracing_on # cat /sys/kernel/debug/tracing/tracing_on 1 # perf ftrace trace --graph-opts depth=5 sleep 0.1 > /dev/null # cat /sys/kernel/debug/tracing/tracing_on 0 # The 'tracing_on' file is not restored to its value before the command. To fix that this patch uses the .../tracing/instances/XXX subdirectory feature. Each 'perf ftrace' invocation creates its own session/process specific subdirectory and does not change the global state in the .../tracing directory itself. Use rmdir(../tracing/instances/dir) to stop process/session specific tracing and delete all process/session specific setings. Reported-by: Alexander Egorenkov <egorenar@linux.ibm.com> Suggested-by: Arnaldo Carvalho de Melo <acme@kernel.org> Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Cc: Alexander Gordeev <agordeev@linux.ibm.com> Cc: Heiko Carstens <hca@linux.ibm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Sumanth Korikkar <sumanthk@linux.ibm.com> Cc: Vasily Gorbik <gor@linux.ibm.com> Link: https://lore.kernel.org/r/20250520093726.2009696-1-tmricht@linux.ibm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
href='/distro/kernel/commit/arch/arm64/boot/dts/nvidia/tegra186.dtsi?h=linux-6.6.y&id=85593b75ee715490f0207d95de4978fc465fda89'>arm64: tegra: Add FUSE block on Tegra186Thierry Reding 2017-12-13arm64: tegra: Add MISC registers on Tegra186Thierry Reding 2017-11-16Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/ar...Linus Torvalds 2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman 2017-10-19arm64: tegra: Add BPMP thermal sensor to Tegra186Mikko Perttunen 2017-10-19arm64: tegra: Add PCIe node for Tegra186Manikanta Maddireddy 2017-10-19arm64: tegra: Add VIC on Tegra186Mikko Perttunen 2017-10-19arm64: tegra: Add host1x on Tegra186Mikko Perttunen 2017-10-19arm64: tegra: Add #power-domain-cells for BPMPMikko Perttunen 2017-06-13arm64: tegra: Add CCPLEX_CLUSTER area in Tegra186Mikko Perttunen 2017-04-04arm64: tegra: Add GPU node for Tegra186Alexandre Courbot 2017-03-08arm64: tegra: Add ethernet support for Tegra186Thierry Reding 2017-03-08arm64: tegra: Add PMC controller on Tegra186Thierry Reding 2017-01-27arm64: tegra: Use symbolic reset identifiersThierry Reding 2017-01-25arm64: tegra: Use symbolic clock identifiersThierry Reding 2017-01-25arm64: tegra: Use symbolic HSP identifiersThierry Reding 2016-11-21arm64: tegra: Add GPIO controllers on Tegra186Thierry Reding 2016-11-21arm64: tegra: Add SDHCI controllers on Tegra186Thierry Reding 2016-11-21arm64: tegra: Add I2C controllers on Tegra186Thierry Reding 2016-11-21arm64: tegra: Add serial ports on Tegra186Thierry Reding 2016-11-21arm64: tegra: Add CPU nodes for Tegra186Thierry Reding 2016-11-21arm64: tegra: Add Tegra186 supportJoseph Lo