# system call counts # (c) 2010, Tom Zanussi # Licensed under the terms of the GNU GPL License version 2 # # Displays system-wide system call totals, broken down by syscall. # If a [comm] arg is specified, only syscalls called by [comm] are displayed. from __future__ import print_function import os import sys sys.path.append(os.environ['PERF_EXEC_PATH'] + \ '/scripts/python/Perf-Trace-Util/lib/Perf/Trace') from perf_trace_context import * from Core import * from Util import syscall_name usage = "perf script -s syscall-counts.py [comm]\n"; for_comm = None if len(sys.argv) > 2: sys.exit(usage) if len(sys.argv) > 1: for_comm = sys.argv[1] syscalls = autodict() def trace_begin(): print("Press control+C to stop and show the summary") def trace_end(): print_syscall_totals() def raw_syscalls__sys_enter(event_name, context, common_cpu, common_secs, common_nsecs, common_pid, common_comm, common_callchain, id, args): if for_comm is not None: if common_comm != for_comm: return try: syscalls[id] += 1 except TypeError: syscalls[id] = 1 def syscalls__sys_enter(event_name, context, common_cpu, common_secs, common_nsecs, common_pid, common_comm, id, args): raw_syscalls__sys_enter(**locals()) def print_syscall_totals(): if for_comm is not None: print("\nsyscall events for %s:\n" % (for_comm)) else: print("\nsyscall events:\n") print("%-40s %10s" % ("event", "count")) print("%-40s %10s" % ("----------------------------------------", "-----------")) for id, val in sorted(syscalls.items(), key = lambda kv: (kv[1], kv[0]), reverse = True): print("%-40s %10d" % (syscall_name(id), val)) d9da3a60054'>diff
path: root/include/linux/fpga
AgeCommit message (Expand)Author
2024-04-23fpga: region: add owner module and take its refcountMarco Pagani
2024-03-31fpga: bridge: add owner module and take its refcountMarco Pagani
2024-03-31fpga: manager: add owner module and take its refcountMarco Pagani
2022-06-24fpga: fpga-mgr: support bitstream offset in image bufferIvan Bornyakov
2022-05-10fpga: fix for coding style issuesNava kishore Manne
2021-11-28fpga: region: Use standard dev_release for class driverRuss Weight
2021-11-28fpga: bridge: Use standard dev_release for class driverRuss Weight
2021-11-28fpga: mgr: Use standard dev_release for class driverRuss Weight
2021-07-21fpga: fix spelling mistakesTom Rix
2021-06-15fpga: altera-pr-ip: Remove function alt_pr_unregisterRuss Weight
2021-06-09fpga-mgr: change FPGA indirect article to anTom Rix
2021-06-09fpga: bridge: change FPGA indirect article to anTom Rix
2020-12-01fpga: fpga-mgr: Add devm_fpga_mgr_register() APIMoritz Fischer
2020-04-19include: fpga: adi-axi-common.h: add version helper macrosAlexandru Ardelean
2020-04-19include: fpga: adi-axi-common.h: fixup whitespace tab -> spaceAlexandru Ardelean
2019-07-24fpga: altera-pr-ip: Make alt_pr_unregister function voidMoritz Fischer
2019-05-27include: fpga: adi-axi-common.h: add common regs & defs headerAlexandru Ardelean
2018-10-16fpga: add devm_fpga_region_createAlan Tull
2018-10-16fpga: bridge: add devm_fpga_bridge_createAlan Tull
2018-10-16fpga: mgr: add devm_fpga_mgr_createAlan Tull
2018-09-30docs: fpga: document fpga manager flagsAlan Tull
2018-07-15fpga: region: add compat_id supportWu Hao
2018-07-15fpga: mgr: add compat_id supportWu Hao
2018-07-15fpga: mgr: add status for fpga-managerWu Hao
2018-07-15fpga: mgr: add region_id to fpga_image_infoWu Hao
2018-05-25fpga: use SPDXAlan Tull
2018-05-25fpga: region: change api, add fpga_region_create/freeAlan Tull
2018-05-25fpga: bridge: change api, don't use drvdataAlan Tull
2018-05-25fpga: manager: change api, don't use drvdataAlan Tull
2017-11-28fpga: add attribute groupsAlan Tull
2017-11-28fpga: region: add fpga_region_class_findAlan Tull
2017-11-28fpga: region: add register/unregister functionsAlan Tull
2017-11-28fpga: region: add fpga-region.h headerAlan Tull
2017-11-28fpga: region: use image info as parameter for programming regionAlan Tull
2017-11-28fpga: mgr: separate getting/locking FPGA managerAlan Tull
2017-11-28fpga: mgr: API change to replace fpga load functions with single functionAlan Tull
2017-11-28fpga: bridge: support getting bridge from deviceAlan Tull
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman
2017-07-17fpga: Add flag to indicate bitstream needs decompressionAnatolij Gustschin
2017-07-17fpga: Add flag to indicate SPI bitstream is bit-reversedAnatolij Gustschin
2017-04-08fpga pr ip: Core driver support for Altera Partial Reconfiguration IP.Matthew Gerlach
2017-04-08fpga: add config complete timeoutAlan Tull
2017-03-17fpga: Add flag to indicate bitstream needs decryptingMoritz Fischer
2017-02-10fpga: Add scatterlist based programmingJason Gunthorpe
2016-11-29fpga: Clarify how write_init works streaming modesJason Gunthorpe
2016-11-10fpga: fpga-region: device tree control for FPGAAlan Tull
2016-11-10fpga: add fpga bridge frameworkAlan Tull
2016-11-10fpga-mgr: add fpga image information structAlan Tull
2016-11-10fpga: add method to get fpga manager from deviceAlan Tull
2015-10-07add FPGA manager coreAlan Tull