# 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. 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, vec): print_header(event_name, common_cpu, common_secs, common_nsecs, common_pid, common_comm) print_uncommon(context) print "vec=%s\n" % \ (symbol_str("irq__softirq_entry", "vec", vec)), def kmem__kmalloc(event_name, context, common_cpu, common_secs, common_nsecs, common_pid, common_comm, 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\n" % \ (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), # 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\n", print "%-40s %10s\n" % ("event", "count"), print "%-40s %10s\n" % ("----------------------------------------", \ "-----------"), 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/fs/ceph/dir.c
AgeCommit message (Expand)Author
2018-08-02ceph: use timespec64 for inode timestampArnd Bergmann
2018-08-02ceph: add d_drop for some error cases in ceph_symlink()Chengguang Xu
2018-08-02ceph: add d_drop for some error cases in ceph_mknod()Chengguang Xu
2018-06-04ceph: support file lock on directoryYan, Zheng
2018-04-10Merge tag 'ceph-for-4.17-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds
2018-04-06Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds
2018-04-02ceph: don't check quota for snap inodeYan, Zheng
2018-04-02ceph: quota: don't allow cross-quota renamesLuis Henriques
2018-04-02ceph: quota: support for ceph.quota.max_filesLuis Henriques
2018-04-02ceph: optimize memory usageChengguang Xu
2018-04-02ceph: change variable name to follow common ruleChengguang Xu
2018-04-02ceph: add newline to end of debug message formatChengguang Xu
2018-02-26ceph: flush dirty caps of unlinked inode ASAPZhi Zhang
2018-02-22get rid of pointless includes of fs_struct.hAl Viro
2018-01-29ceph: avoid dereferencing invalid pointer during cached readdirYan, Zheng
2018-01-29ceph: use atomic_t for ceph_inode_info::i_shared_genYan, Zheng
2018-01-29ceph: cleanup traceless reply handling for renameYan, Zheng
2018-01-29ceph: voluntarily drop Fx cap for readdir requestYan, Zheng
2018-01-29ceph: voluntarily drop Lx cap for link/rename requestsYan, Zheng
2018-01-29ceph: voluntarily drop Ax cap for requests that create new inodeYan, Zheng
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman
2017-09-06ceph: send LSSNAP request to auth mds of directory inodeYan, Zheng
2017-07-17ceph: fix race in concurrent readdirYan, Zheng
2017-05-04ceph: choose readdir frag based on previous readdir replyYan, Zheng
2017-05-04ceph: make seeky readdir more efficientYan, Zheng
2017-02-20ceph: do a LOOKUP in d_revalidate instead of GETATTRJeff Layton
2017-02-20ceph: add a new flag to indicate whether parent is lockedJeff Layton
2017-02-20ceph: convert bools in ceph_mds_request to a new r_req_flags fieldJeff Layton
2017-02-20ceph: cleanup ACCESS_ONCE -> READ_ONCESeraphime Kirkovski
2017-01-18ceph: fix endianness of getattr mask in ceph_d_revalidateJeff Layton
2016-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds
2016-12-08ceph: don't set req->r_locked_dir in ceph_d_revalidateJeff Layton
2016-10-28ceph: switch to use of ->d_init()Al Viro
2016-10-28ceph: unify dentry_operations instancesAl Viro
2016-10-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds
2016-10-07vfs: Remove {get,set,remove}xattr inode operationsAndreas Gruenbacher