From patchwork Fri Nov 12 19:25:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yucong Sun X-Patchwork-Id: 12617231 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C6502C433EF for ; Fri, 12 Nov 2021 19:29:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AFDC960F41 for ; Fri, 12 Nov 2021 19:29:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231795AbhKLTcG (ORCPT ); Fri, 12 Nov 2021 14:32:06 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:64290 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229892AbhKLTcG (ORCPT ); Fri, 12 Nov 2021 14:32:06 -0500 Received: from pps.filterd (m0109331.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1ACJSmqG016367 for ; Fri, 12 Nov 2021 11:29:14 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=facebook; bh=jNf1dNKFhLMvuyBHeXb1PdRLKoOl78cCq3lFBrUpdk0=; b=KImUxQMP0kqZdOpYrWe/IrXmGtDxDw/303bk7y74k3rzyOL0g4+xdhvNQNnDNNcjbqlN M0ZCIbiaRv5Ba6+aedOfOz5wuJEkUe9QOJgwwgL7lKKNTB4ohm+DQNGywZqrTOU91gH1 r8M6TuZci6uFDjov0Xq+KSyrwyeWjfYuhGg= Received: from mail.thefacebook.com ([163.114.132.120]) by mx0a-00082601.pphosted.com with ESMTP id 3c9x54r3vf-15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 12 Nov 2021 11:29:14 -0800 Received: from intmgw001.37.frc1.facebook.com (2620:10d:c085:108::4) by mail.thefacebook.com (2620:10d:c085:21d::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.14; Fri, 12 Nov 2021 11:25:46 -0800 Received: by devvm2661.vll0.facebook.com (Postfix, from userid 200310) id B83C16C83833; Fri, 12 Nov 2021 11:25:39 -0800 (PST) From: Yucong Sun To: CC: , Subject: [PATCH bpf-next 0/4] selftests/bpf: improve test_progs Date: Fri, 12 Nov 2021 11:25:31 -0800 Message-ID: <20211112192535.898352-1-fallentree@fb.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-FB-Internal: Safe X-FB-Source: Intern X-Proofpoint-ORIG-GUID: jXI3cUsmvZXUSP-vn0jX1e7sQE1u2I7o X-Proofpoint-GUID: jXI3cUsmvZXUSP-vn0jX1e7sQE1u2I7o X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-12_05,2021-11-12_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 impostorscore=0 spamscore=0 mlxscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 bulkscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 adultscore=0 mlxlogscore=388 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111120103 X-FB-Internal: deliver Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org X-Patchwork-Delegate: bpf@iogearbox.net various improvement to test_progs, including new '--timing' feature. Yucong Sun (4): selftests/bpf: Move summary line after the error logs selftests/bpf: variable naming fix selftests/bpf: mark variable as static selftests/bpf: Add timing to tests_progs tools/testing/selftests/bpf/test_progs.c | 153 +++++++++++++++++++---- tools/testing/selftests/bpf/test_progs.h | 2 + 2 files changed, 134 insertions(+), 21 deletions(-)