summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-03-13 13:36:01 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-02 15:28:19 +0200
commitef21d2431f32e9e74c65909f7f8c5e1a61ef608e (patch)
tree3e8e680b3c77e2aebcb63dcea09ab7810d9f2450 /include
parent7ad217a824f7fab1e8534a6dfa82899ae1900bcb (diff)
afs: Fix some tracing details
commit 4636cf184d6d9a92a56c2554681ea520dd4fe49a upstream. Fix a couple of tracelines to indicate the usage count after the atomic op, not the usage count before it to be consistent with other afs and rxrpc trace lines. Change the wording of the afs_call_trace_work trace ID label from "WORK" to "QUEUE" to reflect the fact that it's queueing work, not doing work. Fixes: 341f741f04be ("afs: Refcount the afs_call struct") Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/trace/events/afs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/afs.h b/include/trace/events/afs.h
index d0a341bc4540..5bc2e30c0d75 100644
--- a/include/trace/events/afs.h
+++ b/include/trace/events/afs.h
@@ -94,7 +94,7 @@ enum afs_edit_dir_reason {
EM(afs_call_trace_free, "FREE ") \
EM(afs_call_trace_put, "PUT ") \
EM(afs_call_trace_wake, "WAKE ") \
- E_(afs_call_trace_work, "WORK ")
+ E_(afs_call_trace_work, "QUEUE")
#define afs_fs_operations \
EM(afs_FS_FetchData, "FS.FetchData") \