From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9E0A1E492; Wed, 19 Jun 2024 13:31:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718803884; cv=none; b=GuAfSBULEg7FFZKhzriUaGc6rjo6wt7DLpe4n7wQugqKcbi98WizutoMhcFPW23xuzvYZ0My1yzuqlAYNEhR292zUQXd2IakfJYPGaRTrcEL1JDoJGpjfDIdxJA6DuixS12pbAIihMfoXaSVxMogrZbbCzMD8pbXKfEwbqDTYcs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718803884; c=relaxed/simple; bh=uKDYojAEwYv0T5pSfVnoTIupPs45N5gxsNhpIu219Dk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=t3/B7euyJ7bky2DAUPdaGV/EM/ycCNNXHXRQZDhKTzONLFYG3LfK0Dk6kj9iFDCSytIihvc1luYukYrOogJ+jEAA7D6FYgU9wxKM0qJXEXzVVwvUhxIKCDee+UAo7wgLJopDBNLddr38KGlDpUj9AmSJiEffu/LghyAjwV0n+1E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=n0p3zTXY; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="n0p3zTXY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 245D2C2BBFC; Wed, 19 Jun 2024 13:31:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718803884; bh=uKDYojAEwYv0T5pSfVnoTIupPs45N5gxsNhpIu219Dk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n0p3zTXYI67AGm3HOF/44wvq4LdRcq+HD2sZhlPzuRtf1KT5srOp0OnNAGvcBTVcl bN9Llt5jfeANP4xz+cJcXbW6sc6y8s6HKAZylKpuniyjuYUOzw15GyXGMzglxCp3Ha +CLwSUid+15qxH0gwRBU/owfc+Fvzj5NllHg0SiU= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Baokun Li , Jeff Layton , Jingbo Xu , Christian Brauner , Sasha Levin Subject: [PATCH 6.1 105/217] cachefiles: add output string to cachefiles_obj_[get|put]_ondemand_fd Date: Wed, 19 Jun 2024 14:55:48 +0200 Message-ID: <20240619125600.742357615@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240619125556.491243678@linuxfoundation.org> References: <20240619125556.491243678@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Baokun Li [ Upstream commit cc5ac966f26193ab185cc43d64d9f1ae998ccb6e ] This lets us see the correct trace output. Fixes: c8383054506c ("cachefiles: notify the user daemon when looking up cookie") Signed-off-by: Baokun Li Link: https://lore.kernel.org/r/20240522114308.2402121-2-libaokun@huaweicloud.com Acked-by: Jeff Layton Reviewed-by: Jingbo Xu Signed-off-by: Christian Brauner Signed-off-by: Sasha Levin --- include/trace/events/cachefiles.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/trace/events/cachefiles.h b/include/trace/events/cachefiles.h index d8d4d73fe7b6a..b4939097f5116 100644 --- a/include/trace/events/cachefiles.h +++ b/include/trace/events/cachefiles.h @@ -127,7 +127,9 @@ enum cachefiles_error_trace { EM(cachefiles_obj_see_lookup_cookie, "SEE lookup_cookie") \ EM(cachefiles_obj_see_lookup_failed, "SEE lookup_failed") \ EM(cachefiles_obj_see_withdraw_cookie, "SEE withdraw_cookie") \ - E_(cachefiles_obj_see_withdrawal, "SEE withdrawal") + EM(cachefiles_obj_see_withdrawal, "SEE withdrawal") \ + EM(cachefiles_obj_get_ondemand_fd, "GET ondemand_fd") \ + E_(cachefiles_obj_put_ondemand_fd, "PUT ondemand_fd") #define cachefiles_coherency_traces \ EM(cachefiles_coherency_check_aux, "BAD aux ") \ -- 2.43.0