From patchwork Thu Mar 7 15:43:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yordan Karadzhov X-Patchwork-Id: 10843261 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9AA9C1390 for ; Thu, 7 Mar 2019 15:43:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B36C2F440 for ; Thu, 7 Mar 2019 15:43:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7F3BD2F458; Thu, 7 Mar 2019 15:43:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2C6D92F440 for ; Thu, 7 Mar 2019 15:43:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726296AbfCGPnq (ORCPT ); Thu, 7 Mar 2019 10:43:46 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:36635 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726352AbfCGPnp (ORCPT ); Thu, 7 Mar 2019 10:43:45 -0500 Received: by mail-wm1-f66.google.com with SMTP id j125so9756571wmj.1 for ; Thu, 07 Mar 2019 07:43:44 -0800 (PST) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=b88oxwvPmWDVA/FBp3A71q2ZVukyxicVOA5F9lDyxEU=; b=PaJ8dFSKEZu321u4cn2CbNjGEcJtS3+0ZN4GRekkC9RvX7/+yZQQu77Bwjw1LQDMOW Gnb2lev7/08yp0AOYAQA0Hj5VPUkmrbJNBAdpPbztUcHhGEtYlABGwtXmIwzmYuQw63a oxJR/efXidK8m9dzqho1vIuGR3wkitnf9qdL4svgn31JmIsAIT7eowGqzujpoWfxwo03 yJm2emiTHKrECVwa9ZFObCLqY6v2/WqUx2b7ZeaMp2YHu1OCjvyxVgjKsgkKYV4BQaMx fLE9Xw/hSJ719S6RJyrcTj9vqy5Evih8e6Ayt5gG2J63fIErgIN++3JXz1mlXBahaPr0 vkRQ== X-Gm-Message-State: APjAAAUqy5QQgZjQ5RF+PaUtUrXQJ6y0QrOZvTLWIsAy9g1yKr4Ou++n +7kPHtplB4G72AtHqHHUKyqQ83YA+tw= X-Google-Smtp-Source: APXvYqx8stpBjFxn/6RqRA8ydCk4nHy3tBGQSjyignPWOVoNjccsaotXGdprvlhgHO5dHJ5GYcAlMw== X-Received: by 2002:a7b:c777:: with SMTP id x23mr6368897wmk.71.1551973424020; Thu, 07 Mar 2019 07:43:44 -0800 (PST) Received: from localhost.localdomain ([95.87.198.56]) by smtp.gmail.com with ESMTPSA id h9sm10081463wrv.11.2019.03.07.07.43.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Mar 2019 07:43:43 -0800 (PST) From: Yordan Karadzhov To: rostedt@goodmis.org Cc: linux-trace-devel@vger.kernel.org, Yordan Karadzhov Subject: [PATCH v2 3/4] kernel-shark: Fix Doxygen warning from sched_events Date: Thu, 7 Mar 2019 17:43:15 +0200 Message-Id: <20190307154316.19194-4-ykaradzhov@vmware.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190307154316.19194-1-ykaradzhov@vmware.com> References: <20190307154316.19194-1-ykaradzhov@vmware.com> MIME-Version: 1.0 Sender: linux-trace-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-trace-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There is no reason for find_wakeup_pid being non-static. In the same time, because it is non-static, Doxygen complains about missing documentation for this function. Signed-off-by: Yordan Karadzhov --- kernel-shark/src/plugins/sched_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel-shark/src/plugins/sched_events.c b/kernel-shark/src/plugins/sched_events.c index c52fb29..724aa19 100644 --- a/kernel-shark/src/plugins/sched_events.c +++ b/kernel-shark/src/plugins/sched_events.c @@ -148,7 +148,7 @@ static void plugin_register_command(struct kshark_context *kshark_ctx, tep_register_comm(kshark_ctx->pevent, comm, pid); } -int find_wakeup_pid(struct kshark_context *kshark_ctx, struct kshark_entry *e, +static int find_wakeup_pid(struct kshark_context *kshark_ctx, struct kshark_entry *e, struct tep_event *wakeup_event, struct tep_format_field *pid_field) { struct tep_record *record;