# system call counts, by pid # (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, 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-by-pid.py [comm]\n"; for_comm = None for_pid = None if len(sys.argv) > 2: sys.exit(usage) if len(sys.argv) > 1: try: for_pid = int(sys.argv[1]) except: 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 and common_comm != for_comm) or \ (for_pid and common_pid != for_pid ): return try: syscalls[common_comm][common_pid][id] += 1 except TypeError: syscalls[common_comm][common_pid][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 by comm/pid:\n") print("%-40s %10s" % ("comm [pid]/syscalls", "count")) print("%-40s %10s" % ("----------------------------------------", "----------")) comm_keys = syscalls.keys() for comm in comm_keys: pid_keys = syscalls[comm].keys() for pid in pid_keys: print("\n%s [%d]" % (comm, pid)) id_keys = syscalls[comm][pid].keys() for id, val in sorted(syscalls[comm][pid].items(), key = lambda kv: (kv[1], kv[0]), reverse = True): print(" %-38s %10d" % (syscall_name(id), val)) 2.6.31.y'>linux-2.6.31.y Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/drivers/mtd/nand/lpc32xx_mlc.c
AgeCommit message (Expand)Author
2016-05-05mtd: nand: lpc32xx: switch to mtd_ooblayout_opsBoris Brezillon
2016-04-19mtd: nand: remove unneeded of_mtd.h inclusionsBoris Brezillon
2016-01-26mtd: nand: lpc32xx_mlc: fix ecc.sizeBoris BREZILLON
2016-01-07mtd: nand: make use of nand_set/get_controller_data() helpersBoris BREZILLON
2015-12-18mtd: nand: remove useless mtd->priv = chip assignmentsBoris BREZILLON
2015-12-18mtd: nand: lpc32xx: use the mtd instance embedded in struct nand_chipBoris BREZILLON
2015-12-08mtd: nand: make use of mtd_to_nand() in NAND driversBoris BREZILLON
2015-11-11mtd: nand: drop unnecessary partition parser dataBrian Norris
2015-10-19mtd: lpc32xx_mlc: fix warnings caused by enabling unprepared clockVladimir Zapolskiy
2015-10-13mtd: nand: pass page number to ecc->write_xxx() methodsBoris BREZILLON
2015-10-13mtd: nand: lpc32xx_mlc: drop owner assignmentFrans Klaver
2014-10-20mtd: nand: drop owner assignment from platform_driversWolfram Sang
2014-07-01mtd: lpc32xx: drop bitflip_threshold initializationBrian Norris
2014-01-07mtd: lpc32xx_mlc: Remove unnecessary OOM messagesJingoo Han
2014-01-03mtd: nand: lpc32xx_mlc: drop custom write_page callbackBrian Norris
2013-11-06mtd: nand: lpc32xx_mlc: Remove redundant of_match_ptrSachin Kamat
2013-08-30mtd: nand: use dev_get_platdata()Jingoo Han
2013-08-05mtd: nand: lpc32xx: remove unnecessary platform_set_drvdata()Jingoo Han
2013-05-18drivers/mtd/nand: don't check resource with devm_ioremap_resourceWolfram Sang
2013-04-05mtd: nand: subpage write support for hardware based ECC schemesGupta, Pekon
2013-01-25mtd: Convert to devm_ioremap_resource()Thierry Reding
2012-11-22mtd: remove use of __devexitBill Pemberton
2012-11-22mtd: remove use of __devinitBill Pemberton
2012-11-22mtd: remove use of __devexit_pBill Pemberton
2012-09-29mtd: lpc32xx_mlc: Cleanup after DT-only conversionRoland Stigge
2012-09-29mtd: lpc32xx_mlc: Make driver independent of AMBA DMA engine driverRoland Stigge
2012-07-13mtd: lpc32xx_mlc: Adjust to pl08x DMA interface changesRoland Stigge
2012-07-06mtd: add LPC32xx MLC NAND driverRoland Stigge