From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11B27C4727D for ; Fri, 2 Oct 2020 14:32:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D0796206DB for ; Fri, 2 Oct 2020 14:32:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="etbkXi4U" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388219AbgJBOcx (ORCPT ); Fri, 2 Oct 2020 10:32:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387919AbgJBOct (ORCPT ); Fri, 2 Oct 2020 10:32:49 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9800C0613D0 for ; Fri, 2 Oct 2020 07:32:49 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id u24so898712pgi.1 for ; Fri, 02 Oct 2020 07:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=SSkvn3oDzCRhIrEuSpHYTZxiQ4F3t2VMbqy8/HZ/4go=; b=etbkXi4UPw2PrA0q1xuOWjPS1aMdlMR5ll7pfMjNVjXx8BJEL48pEG1Z71p9R7+zEh vn7i7/syNDrDj9onLLICslCgvT4nAQwNPUeYqNZQkId0KCVkkf+c/gWGjI5GCb0tafKq nkuTAcOg+Sfwv5GRhEsEyypXzgbRmxUj1D0EwPJ4KTzii8Z53hJ8DDbSdTRxrwL8//dH uyUkdBMpBYnwTu5+/XTHUk2zmpUG3tzv9lN+a36jh6wRo2h8ny7WrwFdhpjvgUCuLso9 nKBg3+W8ywkxYS+/YgN6iFOUnbSRwwUe0iAwpgztvXHb/m+UDJ4WcMuu3z/Abql8uHNF ONlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=SSkvn3oDzCRhIrEuSpHYTZxiQ4F3t2VMbqy8/HZ/4go=; b=Fj0oN/mpCR5LUvUV/YDKQk3asDKqlqmcrT4eq0BIzYbhXs1+g8gwzrnba9XuokHkSC wFd3++AZd8Y+TmkESi0snuG8PObcKiTLadd9xk8TmcEE6y/6afK4Rt+V+gvR2D88Qn5f 1QECza2isAD6V9t2iYd4L/BcCLwz55Ndm8EaWxZnygkt/XxcYfJobHgj2yGGB92UbVdC zU5InSfQZWlULVB9yweZqWCRFTnVyQNMF3WZ6tG18RQew5N5WjSHZHi+QWqcFdTJjjfm dLUsxOGQxMnCfPz5RHtQIvzKHB5qZs/vgCF0IHw4Z/T3BQLWTeBBGNwwetdhUp6HqDfB TAWA== X-Gm-Message-State: AOAM531KMmzXw9HdR/+hLHfgFizb98qAnPU2hAGGD3ymBRgucI6DOOfx p4QBfqqeNqdfwvHZ6+PIDwc= X-Google-Smtp-Source: ABdhPJx9MvAgmcud0sckaiTk8xpf5x5hvQ17m9X73spj9PWYZ735XAweN8zzcsv8bL0C+C7pJp+jgQ== X-Received: by 2002:a63:fd03:: with SMTP id d3mr2395327pgh.201.1601649169453; Fri, 02 Oct 2020 07:32:49 -0700 (PDT) Received: from localhost (42-3-19-186.static.netvigator.com. [42.3.19.186]) by smtp.gmail.com with ESMTPSA id d8sm1803684pjs.47.2020.10.02.07.32.48 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 02 Oct 2020 07:32:48 -0700 (PDT) From: Qiujun Huang To: rostedt@goodmis.org, mingo@redhat.com, linux-kernel@vger.kernel.org Cc: Qiujun Huang Subject: [PATCH] ftrace: Fix some typos in comment Date: Fri, 2 Oct 2020 22:31:26 +0800 Message-Id: <20201002143126.2890-1-hqjagain@gmail.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org s/coorditate/coordinate/ s/emty/empty/ s/preeptive/preemptive/ s/succes/success/ s/carefule/careful/ Signed-off-by: Qiujun Huang --- kernel/trace/ftrace.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 541453927c82..549aeacabb61 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/trace/ftrace.c @@ -230,7 +230,7 @@ static void update_ftrace_function(void) /* * For static tracing, we need to be a bit more careful. * The function change takes affect immediately. Thus, - * we need to coorditate the setting of the function_trace_ops + * we need to coordinate the setting of the function_trace_ops * with the setting of the ftrace_trace_function. * * Set the function to the list ops, which will call the @@ -1451,7 +1451,7 @@ static bool hash_contains_ip(unsigned long ip, { /* * The function record is a match if it exists in the filter - * hash and not in the notrace hash. Note, an emty hash is + * hash and not in the notrace hash. Note, an empty hash is * considered a match for the filter hash, but an empty * notrace hash is considered not in the notrace hash. */ @@ -2976,7 +2976,7 @@ int ftrace_shutdown(struct ftrace_ops *ops, int command) synchronize_rcu_tasks_rude(); /* - * When the kernel is preeptive, tasks can be preempted + * When the kernel is preemptive, tasks can be preempted * while on a ftrace trampoline. Just scheduling a task on * a CPU is not good enough to flush them. Calling * synchornize_rcu_tasks() will wait for those tasks to @@ -4368,7 +4368,7 @@ void **ftrace_func_mapper_find_ip(struct ftrace_func_mapper *mapper, * @ip: The instruction pointer address to map @data to * @data: The data to map to @ip * - * Returns 0 on succes otherwise an error. + * Returns 0 on success otherwise an error. */ int ftrace_func_mapper_add_ip(struct ftrace_func_mapper *mapper, unsigned long ip, void *data) @@ -4536,7 +4536,7 @@ register_ftrace_function_probe(char *glob, struct trace_array *tr, /* * Note, there's a small window here that the func_hash->filter_hash - * may be NULL or empty. Need to be carefule when reading the loop. + * may be NULL or empty. Need to be careful when reading the loop. */ mutex_lock(&probe->ops.func_hash->regex_lock); -- 2.17.1