# perf script event handlers, generated by perf script -g python # (c) 2010, Tom Zanussi # Licensed under the terms of the GNU GPL License version 2 # # This script tests basic functionality such as flag and symbol # strings, common_xxx() calls back into perf, begin, end, unhandled # events, etc. Basically, if this script runs successfully and # displays expected results, Python scripting support should be ok. 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 Core import * from perf_trace_context import * unhandled = autodict() def trace_begin(): print("trace_begin") pass def trace_end(): print_unhandled() def irq__softirq_entry(event_name, context, common_cpu, common_secs, common_nsecs, common_pid, common_comm, common_callchain, vec): print_header(event_name, common_cpu, common_secs, common_nsecs, common_pid, common_comm) print_uncommon(context) print("vec=%s" % (symbol_str("irq__softirq_entry", "vec", vec))) def kmem__kmalloc(event_name, context, common_cpu, common_secs, common_nsecs, common_pid, common_comm, common_callchain, call_site, ptr, bytes_req, bytes_alloc, gfp_flags): print_header(event_name, common_cpu, common_secs, common_nsecs, common_pid, common_comm) print_uncommon(context) print("call_site=%u, ptr=%u, bytes_req=%u, " "bytes_alloc=%u, gfp_flags=%s" % (call_site, ptr, bytes_req, bytes_alloc, flag_str("kmem__kmalloc", "gfp_flags", gfp_flags))) def trace_unhandled(event_name, context, event_fields_dict): try: unhandled[event_name] += 1 except TypeError: unhandled[event_name] = 1 def print_header(event_name, cpu, secs, nsecs, pid, comm): print("%-20s %5u %05u.%09u %8u %-20s " % (event_name, cpu, secs, nsecs, pid, comm), end=' ') # print trace fields not included in handler args def print_uncommon(context): print("common_preempt_count=%d, common_flags=%s, " "common_lock_depth=%d, " % (common_pc(context), trace_flag_str(common_flags(context)), common_lock_depth(context))) def print_unhandled(): keys = unhandled.keys() if not keys: return print("\nunhandled events:\n") print("%-40s %10s" % ("event", "count")) print("%-40s %10s" % ("----------------------------------------", "-----------")) for event_name in keys: print("%-40s %10d\n" % (event_name, unhandled[event_name])) on> Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/crypto/cryptd.c
AgeCommit message (Expand)Author
2018-01-12crypto: hash - annotate algorithms taking optional keyEric Biggers
2018-01-12crypto: cryptd - pass through absence of ->setkey()Eric Biggers
2017-12-11crypto: cryptd - make cryptd_max_cpu_qlen module parameter staticColin Ian King
2017-11-29crypto: cryptd - Add cryptd_max_cpu_qlen module parameterJon Maxwell
2017-11-03crypto: change transient busy return code to -ENOSPCGilad Ben-Yossef
2016-11-28crypto: cryptd - Add support for skcipherHerbert Xu
2016-11-01crypto: cryptd - Remove unused but set variable 'tfm'Tobias Klauser
2016-09-07crypto: cryptd - initialize child shash_desc on importArd Biesheuvel
2016-08-31crypto: cryptd - Use correct tfm object for AEAD trackingHerbert Xu
2016-06-23crypto: cryptd - Add helpers to check whether a tfm is queuedHerbert Xu
2015-12-04crypto: cryptd - Assign statesize properlyWang, Rui Y
2015-11-27crypto: cryptod - use crypto_skcipher_type() for getting skcipher typeAlexander Kuleshov
2015-08-17crypto: aead - Remove CRYPTO_ALG_AEAD_NEW flagHerbert Xu
2015-08-17crypto: cryptd - Remove reference to crypto_aead_crtHerbert Xu
2015-07-14crypto: cryptd - Propagate new AEAD implementation flagHerbert Xu
2015-07-07crypto: cryptd - Fix AEAD request context corruptionHerbert Xu
2015-06-03crypto: cryptd - Convert to new AEAD interfaceHerbert Xu
2015-06-03crypto: cryptd - Add setkey/setauthsize functions for AEADHerbert Xu
2015-05-22crypto: cryptd - Use crypto_grab_aeadHerbert Xu
2015-05-13crypto: cryptd - Use crypto_aead_set_reqsize helperHerbert Xu
2015-03-31crypto: cryptd - process CRYPTO_ALG_INTERNALStephan Mueller
2014-11-26crypto: include crypto- module prefix in templateKees Cook
2014-08-01crypto: Resolve shadow warningsMark Rustad
2012-10-24crypto: cryptd - disable softirqs in cryptd_queue_worker to prevent data corr...Jussi Kivilinna
2011-08-20crypto: cryptd - Use subsys_initcall to prevent races with aesniHerbert Xu
2010-09-20crypto: cryptd - Adding the AEAD interface type support to cryptdAdrian Hoban