Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1549062rdb; Sat, 23 Dec 2023 10:59:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IFl8fmx/7WqyGpprf/pSFIvOILaWOrmpHGLkT5Yix9LOvZNAE15YtFHnIcN9KUpIB0pLknD X-Received: by 2002:a05:6a00:3119:b0:6d9:a074:659f with SMTP id bi25-20020a056a00311900b006d9a074659fmr1158155pfb.13.1703357941280; Sat, 23 Dec 2023 10:59:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703357941; cv=none; d=google.com; s=arc-20160816; b=EvoftyeJTicBhkiH/LqBjeAnONmUU62WRE5SHqLLLmkEr6g2gfZzmK99xq64D3A+gR D/Cd//UWoZJwY+ZGgY/TtIZghZgCRlbP1Cq4vm1BtVLsF8ME66Wt443Y8yUHXX0tBCm+ px0/ekPsWektlZs8kTta8/tvKEmSeuB1Rjq8f9hRLZtApN+Q8XNl7Fp3GXyFU90ys/U0 rUYH1sbFVd+yLrHuedxWDLdSA16xd8z1TA6T5+lewVTPaEf6dJk5eA053XIoPiSAIptM bmE6OXVuFsxNXzUncVs7Ln1N6cEYoRkcl9+5Vlf0ZULeyGv02uQfQrz+wEA2h4kcwJFq 5r4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=IUj8sWVqfVf7l8aOcrRWbZFkCpNTF4lfAPCLY3WuWLM=; fh=Pqv6Ct07RufVIcevhbjxfufkcdOPGXRIj85GGJNf1Zc=; b=Q8A1wJqINPA3UlH7smt4OFqScCvz3Wg5zNl+aALFD/Yj8LFD/H+lUvkYVEWllSm8gs ko1uedZefVDYsBBTTGNcqmgxwJiIw+kHqBpjLyCLnBTzRRJmpXG0QE58SQoM44RuWBjT jlmBgsqm2wmIwLa/ktapGinuOUD59bh7FgQNZGhjY7Ip95jhEKwaPGLftqoRHNwR644H sbkJfslx6y1A7/DYQNceozhBz7umz/Qej14wpnZhEOq3aCuf3UzwJ4ctLjFqkB3/2NK6 UiJUZjZjPc0aFSs0ATvGuFbMdze1BMe4E9WoGfnmBGVDfC5h2af+Glx6BWDXv4VP8DlI P/jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aagLGRuP; spf=pass (google.com: domain of linux-kernel+bounces-10556-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id f18-20020a056a00239200b006d990db77besi2547758pfc.135.2023.12.23.10.59.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 10:59:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10556-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aagLGRuP; spf=pass (google.com: domain of linux-kernel+bounces-10556-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 1AE7DB213B0 for ; Sat, 23 Dec 2023 18:58:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B2D961426A; Sat, 23 Dec 2023 18:58:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aagLGRuP" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A87AD12E63; Sat, 23 Dec 2023 18:58:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-5e7db780574so30282027b3.1; Sat, 23 Dec 2023 10:58:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703357928; x=1703962728; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=IUj8sWVqfVf7l8aOcrRWbZFkCpNTF4lfAPCLY3WuWLM=; b=aagLGRuPTTebgeQOY4NtEib7WDNcN1b3Rib41033vVPFir/L+/XKSVyoL8YfN45FKm /Yyh74S7wGybvXEwSnlcIDqhRVIX+nVPMY1bxxy2a6GCV9Z/2Of/7Bu3oa6KcCu970Zx tmpfOPjNHgvaRtd6kpLqnGyNOsAUwpRx8gdZGRqWjyJWPlw60/zpRPp2W9H2FftPobkX eyEQLdacvdhuRihLFUKI0xp7n02Cq+LeLJNd4WK2Ga8JR/SuT+yggdxgDz2GnhphfbDu nSK5z3gqUTm2gI0xfsxq2nqxcBasraJAhpq4+prvzX3ORRiU9r28NB2hkxI7GCnWOdI4 wnWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703357928; x=1703962728; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IUj8sWVqfVf7l8aOcrRWbZFkCpNTF4lfAPCLY3WuWLM=; b=Dt6/XdEN68gvmiBmTX6ls8MDbkvCN1SNK10UHOZd6yhvL0rygsbGBqqNb68TfMEDND pVSykZn7wOsiQsTyYfTGHExBbUnco5JTS1cYJ3/5/Zsra4Vq18kPnkLFrHG6TAOl4SMf UlIz1ETp3mmSR4ReJgEIat0hU46+lfepn1VAFqWYejCCEDxmyA+3CE8MA8ysa+zoeiA6 u/OlzehYjYUpOr4DFUH0cPby7ehehfuX7NcuBxUSeXNV4pG9a77waijsTXOI6k0Uhycd GfW1hRJTPlIzkwCxPvj3GBBr4NQxDPo/MYYk5W2PxWOsjzxSYlnna5om+LNcEuE33LGB YdWA== X-Gm-Message-State: AOJu0YzuExVcTbm6rgnVXCTB0j69pDxtDRgVwwMB4/BOefRv/plXLYA6 bqXsH2miDTTXG2iNpntc5YN04rYzHsaZ8A== X-Received: by 2002:a0d:dfd0:0:b0:5e8:5a63:f1e7 with SMTP id i199-20020a0ddfd0000000b005e85a63f1e7mr2362810ywe.27.1703357928593; Sat, 23 Dec 2023 10:58:48 -0800 (PST) Received: from localhost.localdomain (024-171-058-032.res.spectrum.com. [24.171.58.32]) by smtp.gmail.com with ESMTPSA id x10-20020a81b04a000000b005e96907ab19sm2571839ywk.64.2023.12.23.10.58.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 10:58:48 -0800 (PST) From: Matthew Cassell To: corbet@lwn.net Cc: linux-doc@vger.kernel.org, trivial@kernel.org, linux-kernel@vger.kernel.org, mcassell411@gmail.com Subject: [PATCH] Documentation/trace: Fixed typos in the ftrace FLAGS section Date: Sat, 23 Dec 2023 18:58:45 +0000 Message-Id: <20231223185845.2326-1-mcassell411@gmail.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fixed typos in the FTRACE_OPS_FL_RECURSION flag description. Signed-off-by: Matthew Cassell --- Documentation/trace/ftrace-uses.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/trace/ftrace-uses.rst b/Documentation/trace/ftrace-uses.rst index f7d98ae5b885..e198854ace79 100644 --- a/Documentation/trace/ftrace-uses.rst +++ b/Documentation/trace/ftrace-uses.rst @@ -182,7 +182,7 @@ FTRACE_OPS_FL_SAVE_REGS_IF_SUPPORTED FTRACE_OPS_FL_RECURSION By default, it is expected that the callback can handle recursion. - But if the callback is not that worried about overehead, then + But if the callback is not that worried about overhead, then setting this bit will add the recursion protection around the callback by calling a helper function that will do the recursion protection and only call the callback if it did not recurse. @@ -190,7 +190,7 @@ FTRACE_OPS_FL_RECURSION Note, if this flag is not set, and recursion does occur, it could cause the system to crash, and possibly reboot via a triple fault. - Not, if this flag is set, then the callback will always be called + Note, if this flag is set, then the callback will always be called with preemption disabled. If it is not set, then it is possible (but not guaranteed) that the callback will be called in preemptable context. -- 2.34.1