16c00db4bb
Pull AFS fixes from David Howells: "Here's a set of patches that fix a number of bugs in the in-kernel AFS client, including: - Fix directory locking to not use individual page locks for directory reading/scanning but rather to use a semaphore on the afs_vnode struct as the directory contents must be read in a single blob and data from different reads must not be mixed as the entire contents may be shuffled about between reads. - Fix address list parsing to handle port specifiers correctly. - Only give up callback records on a server if we actually talked to that server (we might not be able to access a server). - Fix some callback handling bugs, including refcounting, whole-volume callbacks and when callbacks actually get broken in response to a CB.CallBack op. - Fix some server/address rotation bugs, including giving up if we can't probe a server; giving up if a server says it doesn't have a volume, but there are more servers to try. - Fix the decoding of fetched statuses to be OpenAFS compatible. - Fix the handling of server lookups in Cache Manager ops (such as CB.InitCallBackState3) to use a UUID if possible and to handle no server being found. - Fix a bug in server lookup where not all addresses are compared. - Fix the non-encryption of calls that prevents some servers from being accessed (this also requires an AF_RXRPC patch that has already gone in through the net tree). There's also a patch that adds tracepoints to log Cache Manager ops that don't find a matching server, either by UUID or by address" * tag 'afs-fixes-20180514' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs: afs: Fix the non-encryption of calls afs: Fix CB.CallBack handling afs: Fix whole-volume callback handling afs: Fix afs_find_server search loop afs: Fix the handling of an unfound server in CM operations afs: Add a tracepoint to record callbacks from unlisted servers afs: Fix the handling of CB.InitCallBackState3 to find the server by UUID afs: Fix VNOVOL handling in address rotation afs: Fix AFSFetchStatus decoder to provide OpenAFS compatibility afs: Fix server rotation's handling of fileserver probe failure afs: Fix refcounting in callback registration afs: Fix giving up callbacks on server destruction afs: Fix address list parsing afs: Fix directory page locking
111 lines
2 KiB
Text
111 lines
2 KiB
Text
[config]
|
|
command = stat
|
|
args = -d kill >/dev/null 2>&1
|
|
ret = 1
|
|
|
|
|
|
# PERF_TYPE_SOFTWARE / PERF_COUNT_SW_TASK_CLOCK
|
|
[event1:base-stat]
|
|
fd=1
|
|
type=1
|
|
config=1
|
|
|
|
# PERF_TYPE_SOFTWARE / PERF_COUNT_SW_CONTEXT_SWITCHES
|
|
[event2:base-stat]
|
|
fd=2
|
|
type=1
|
|
config=3
|
|
|
|
# PERF_TYPE_SOFTWARE / PERF_COUNT_SW_CPU_MIGRATIONS
|
|
[event3:base-stat]
|
|
fd=3
|
|
type=1
|
|
config=4
|
|
|
|
# PERF_TYPE_SOFTWARE / PERF_COUNT_SW_PAGE_FAULTS
|
|
[event4:base-stat]
|
|
fd=4
|
|
type=1
|
|
config=2
|
|
|
|
# PERF_TYPE_HARDWARE / PERF_COUNT_HW_CPU_CYCLES
|
|
[event5:base-stat]
|
|
fd=5
|
|
type=0
|
|
config=0
|
|
optional=1
|
|
|
|
# PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_FRONTEND
|
|
[event6:base-stat]
|
|
fd=6
|
|
type=0
|
|
config=7
|
|
optional=1
|
|
|
|
# PERF_TYPE_HARDWARE / PERF_COUNT_HW_STALLED_CYCLES_BACKEND
|
|
[event7:base-stat]
|
|
fd=7
|
|
type=0
|
|
config=8
|
|
optional=1
|
|
|
|
# PERF_TYPE_HARDWARE / PERF_COUNT_HW_INSTRUCTIONS
|
|
[event8:base-stat]
|
|
fd=8
|
|
type=0
|
|
config=1
|
|
optional=1
|
|
|
|
# PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_INSTRUCTIONS
|
|
[event9:base-stat]
|
|
fd=9
|
|
type=0
|
|
config=4
|
|
optional=1
|
|
|
|
# PERF_TYPE_HARDWARE / PERF_COUNT_HW_BRANCH_MISSES
|
|
[event10:base-stat]
|
|
fd=10
|
|
type=0
|
|
config=5
|
|
optional=1
|
|
|
|
# PERF_TYPE_HW_CACHE /
|
|
# PERF_COUNT_HW_CACHE_L1D << 0 |
|
|
# (PERF_COUNT_HW_CACHE_OP_READ << 8) |
|
|
# (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)
|
|
[event11:base-stat]
|
|
fd=11
|
|
type=3
|
|
config=0
|
|
optional=1
|
|
|
|
# PERF_TYPE_HW_CACHE /
|
|
# PERF_COUNT_HW_CACHE_L1D << 0 |
|
|
# (PERF_COUNT_HW_CACHE_OP_READ << 8) |
|
|
# (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)
|
|
[event12:base-stat]
|
|
fd=12
|
|
type=3
|
|
config=65536
|
|
optional=1
|
|
|
|
# PERF_TYPE_HW_CACHE /
|
|
# PERF_COUNT_HW_CACHE_LL << 0 |
|
|
# (PERF_COUNT_HW_CACHE_OP_READ << 8) |
|
|
# (PERF_COUNT_HW_CACHE_RESULT_ACCESS << 16)
|
|
[event13:base-stat]
|
|
fd=13
|
|
type=3
|
|
config=2
|
|
optional=1
|
|
|
|
# PERF_TYPE_HW_CACHE,
|
|
# PERF_COUNT_HW_CACHE_LL << 0 |
|
|
# (PERF_COUNT_HW_CACHE_OP_READ << 8) |
|
|
# (PERF_COUNT_HW_CACHE_RESULT_MISS << 16)
|
|
[event14:base-stat]
|
|
fd=14
|
|
type=3
|
|
config=65538
|
|
optional=1
|