Message ID | 153269382186.3084.7341389829390379403.stgit@devbox (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-kselftest-owner@kernel.org> 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 BC30F1751 for <patchwork-linux-kselftest@patchwork.kernel.org>; Fri, 27 Jul 2018 12:17:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A93C12B366 for <patchwork-linux-kselftest@patchwork.kernel.org>; Fri, 27 Jul 2018 12:17:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9D3722B84D; Fri, 27 Jul 2018 12:17:31 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 56EA02B366 for <patchwork-linux-kselftest@patchwork.kernel.org>; Fri, 27 Jul 2018 12:17:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732807AbeG0NjF (ORCPT <rfc822;patchwork-linux-kselftest@patchwork.kernel.org>); Fri, 27 Jul 2018 09:39:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:34700 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729955AbeG0NjE (ORCPT <rfc822;linux-kselftest@vger.kernel.org>); Fri, 27 Jul 2018 09:39:04 -0400 Received: from localhost.localdomain (NE2965lan1.rev.em-net.ne.jp [210.141.244.193]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D629F208B4; Fri, 27 Jul 2018 12:17:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1532693844; bh=VkrfszIbLu1KOiAeEj6CX14AbxNrmYI1p5KcTa5VGxk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S/tbtSxam+lojAwSBg1TQf2yyTKF6eI8mw3Y+VV27Igby9XuLspg46+GSJwox1iH0 nyUBFyDxLu/1mGSnFqK/2OuAOV53nUzG76Ro81jK2E63BsqA+6M2pSjEnYzaMjALJm dUh3DCFg2CAgXsMqD+T0l6JoD/9pJKzEbHhDZXiw= From: Masami Hiramatsu <mhiramat@kernel.org> To: Shuah Khan <shuah@kernel.org>, Steven Rostedt <rostedt@goodmis.org> Cc: Ingo Molnar <mingo@redhat.com>, Masami Hiramatsu <mhiramat@kernel.org>, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 15/25] selftests/ftrace: Check set_event_pid result Date: Fri, 27 Jul 2018 21:17:02 +0900 Message-Id: <153269382186.3084.7341389829390379403.stgit@devbox> X-Mailer: git-send-email 2.13.6 In-Reply-To: <153269339575.3084.16279591141931053689.stgit@devbox> References: <153269339575.3084.16279591141931053689.stgit@devbox> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kselftest.vger.kernel.org> X-Mailing-List: linux-kselftest@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
selftests/ftrace: Improve ftracetest with coverage check
|
expand
|
diff --git a/tools/testing/selftests/ftrace/test.d/event/event-pid.tc b/tools/testing/selftests/ftrace/test.d/event/event-pid.tc index 6d2897f6a106..4ecbd9b69ec6 100644 --- a/tools/testing/selftests/ftrace/test.d/event/event-pid.tc +++ b/tools/testing/selftests/ftrace/test.d/event/event-pid.tc @@ -46,6 +46,7 @@ do_reset read mypid rest < /proc/self/stat echo $mypid > set_event_pid +grep -q $mypid set_event_pid echo 'sched:sched_switch' > set_event yield
Ensure the set_event_pid shows set pid list. Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> --- .../selftests/ftrace/test.d/event/event-pid.tc | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html