Skip to content

Commit cc5ac96

Browse files
LiBaokun96brauner
authored andcommitted
cachefiles: add output string to cachefiles_obj_[get|put]_ondemand_fd
This lets us see the correct trace output. Fixes: c838305 ("cachefiles: notify the user daemon when looking up cookie") Signed-off-by: Baokun Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Acked-by: Jeff Layton <[email protected]> Reviewed-by: Jingbo Xu <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
1 parent f481bb3 commit cc5ac96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/trace/events/cachefiles.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ enum cachefiles_error_trace {
127127
EM(cachefiles_obj_see_lookup_cookie, "SEE lookup_cookie") \
128128
EM(cachefiles_obj_see_lookup_failed, "SEE lookup_failed") \
129129
EM(cachefiles_obj_see_withdraw_cookie, "SEE withdraw_cookie") \
130-
E_(cachefiles_obj_see_withdrawal, "SEE withdrawal")
130+
EM(cachefiles_obj_see_withdrawal, "SEE withdrawal") \
131+
EM(cachefiles_obj_get_ondemand_fd, "GET ondemand_fd") \
132+
E_(cachefiles_obj_put_ondemand_fd, "PUT ondemand_fd")
131133

132134
#define cachefiles_coherency_traces \
133135
EM(cachefiles_coherency_check_aux, "BAD aux ") \

0 commit comments

Comments
 (0)