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 79B6DC433EF for ; Fri, 12 Nov 2021 15:07:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 606F060F46 for ; Fri, 12 Nov 2021 15:07:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229632AbhKLPJu (ORCPT ); Fri, 12 Nov 2021 10:09:50 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:57306 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbhKLPJt (ORCPT ); Fri, 12 Nov 2021 10:09:49 -0500 Received: from pps.filterd (m0109334.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1ACF4Utw026438 for ; Fri, 12 Nov 2021 07:06:59 -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=VX7J7Gzy96s0CAxZsM8utdZ4Hm+Uw3NgP1n/8spaUd4=; b=f0DYnfjNc5eJO6Py388rB8Qw+W71bLuqnOo4P6/TBWWZYWvoVIhC2ret3adeFBNfdFPk qG7OhtTQtv/m9NMzSOgba6tHYaRri+xkFEotWGSscfrXugrhYHMssdjBmokdPOuCYxVA mSHPVWx1XI+NvMFevLfWR9+NlF8+KgyhDMA= Received: from mail.thefacebook.com ([163.114.132.120]) by mx0a-00082601.pphosted.com with ESMTP id 3c98k575su-20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 12 Nov 2021 07:06:58 -0800 Received: from intmgw002.06.ash9.facebook.com (2620:10d:c085:108::4) by mail.thefacebook.com (2620:10d:c085:21d::4) 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 07:02:53 -0800 Received: by devbig006.ftw2.facebook.com (Postfix, from userid 4523) id E4E021FA8FBEF; Fri, 12 Nov 2021 07:02:47 -0800 (PST) From: Song Liu To: , CC: , , , , Song Liu Subject: [PATCH v3 bpf-next 0/2] introduce btf_tracing_ids Date: Fri, 12 Nov 2021 07:02:41 -0800 Message-ID: <20211112150243.1270987-1-songliubraving@fb.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-FB-Internal: Safe Content-Type: text/plain X-FB-Source: Intern X-Proofpoint-ORIG-GUID: LQL69_kYiJkFyBXv0jMF-EvI2jsrhRBu X-Proofpoint-GUID: LQL69_kYiJkFyBXv0jMF-EvI2jsrhRBu 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 suspectscore=0 bulkscore=0 adultscore=0 mlxlogscore=384 phishscore=0 lowpriorityscore=0 clxscore=1015 impostorscore=0 malwarescore=0 mlxscore=0 priorityscore=1501 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111120087 X-FB-Internal: deliver Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org Changes v2 =3D> v3: 1. Fix bug in task_iter.c. (Kernel test robot ) Changes v1 =3D> v2: 1. Add patch 2/2. (Alexei) 1/2 fixes issue with btf_task_struct_ids w/o CONFIG_DEBUG_INFO_BTF. 2/2 replaces btf_task_struct_ids with easier to understand btf_tracing_id= s. Song Liu (2): bpf: extend BTF_ID_LIST_GLOBAL with parameter for number of IDs bpf: introduce btf_tracing_ids include/linux/btf_ids.h | 20 ++++++++++++++++---- kernel/bpf/bpf_task_storage.c | 4 ++-- kernel/bpf/btf.c | 8 ++++---- kernel/bpf/stackmap.c | 2 +- kernel/bpf/task_iter.c | 12 ++++++------ kernel/bpf/verifier.c | 2 +- kernel/trace/bpf_trace.c | 4 ++-- net/core/filter.c | 6 +----- 8 files changed, 33 insertions(+), 25 deletions(-) -- 2.30.2