Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2895036pxa; Tue, 18 Aug 2020 00:21:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPA8Y22YDT9aiqYgPICLiNet0G9WTapezL6ehlC6sk46K2J4FkKHTzoi0okrISb9u5Yx9y X-Received: by 2002:a50:ef0a:: with SMTP id m10mr18885574eds.226.1597735286592; Tue, 18 Aug 2020 00:21:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597735286; cv=none; d=google.com; s=arc-20160816; b=s4/idBRc2dpV9jbJOcAFZ49fXwIxwTkh5m3Zr7XioANyqrMGXeurKe1VqzA8TgyLwG Qfs2seu7KDnXZVPXUGlAkZtNQAii6NssCOCREiP+NTirlzmNWtqhMYEKwK39M5TTc3SO ikwymkt+W7SgyTJmDUqo7EvGJt/0SkqLRHTMWtUhovYOxOHQ0SxSP/YCMOar2ZfTUy1W EL5Zqo4bCdLnzMdjWLrXy4R03sBgRthbT2JseygFWWhaXzLX1GaaTN/u19coiohjbCFU VNw9oWck51Zyu4FH7SqPiHyrY6pQIQa3FNqaQvxOTb80T2B6ubdS3JDa2RUFQn+2VqPQ /Z1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=x2iRUuOCggdFZ3zmEk7fFUbeOhqcQkFEb3A6QAAzqPE=; b=XTIi2eF9HZl04EMZu5vkCyYOy/P/c1Wu5M7K+RxeD08+vyB20h1ze6ZCi+4CGa24yV FhfkVL8nA7WPgHERrUFA8Bz/Qf+IfsXtBP1fLA3LjL8hKkNHDEkN+jamyLyq7Gbz7G8O 6VcJNKuPnlNT60fhlvJCOgS9WPsViGM/C8a1MFsXzKfGt9j7hama8QlAn59MQYvCAHdz uyukd98mMrLVhj94kiVWByomnXh3YBRqE1DsB2W5dP1ZJIXPu5LxmXjFx+Oo7QMIxdIs sLgHAsEq6Fa9FcvpoLmTfEKC8cKBsxzXrErdp99gqPkInIHgeGGHFcyW6uJ6qwjrzXXB LyMg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m7si2659805edq.34.2020.08.18.00.21.01; Tue, 18 Aug 2020 00:21:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726424AbgHRHUY (ORCPT + 99 others); Tue, 18 Aug 2020 03:20:24 -0400 Received: from smtp23.cstnet.cn ([159.226.251.23]:51702 "EHLO cstnet.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726043AbgHRHUX (ORCPT ); Tue, 18 Aug 2020 03:20:23 -0400 Received: from localhost (unknown [159.226.5.99]) by APP-03 (Coremail) with SMTP id rQCowAD3O0hBgDtfCC8iAw--.22137S2; Tue, 18 Aug 2020 15:16:17 +0800 (CST) From: Xu Wang To: ast@kernel.org, daniel@iogearbox.net, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, andriin@fb.com, john.fastabend@gmail.com, kpsingh@chromium.org, netdev@vger.kernel.org, bpf@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Xu Wang Subject: [PATCH] libbpf: convert comma to semicolon Date: Tue, 18 Aug 2020 07:16:11 +0000 Message-Id: <20200818071611.21923-1-vulab@iscas.ac.cn> X-Mailer: git-send-email 2.17.1 X-CM-TRANSID: rQCowAD3O0hBgDtfCC8iAw--.22137S2 X-Coremail-Antispam: 1UD129KBjvdXoW7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.99] X-CM-SenderInfo: pyxotu46lvutnvoduhdfq/1tbiAwUMA13qZTpJ6QAAsB Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace a comma between expression statements by a semicolon. Signed-off-by: Xu Wang --- tools/lib/bpf/libbpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c index 5d20b2da4427..5055e1531e43 100644 --- a/tools/lib/bpf/libbpf.c +++ b/tools/lib/bpf/libbpf.c @@ -8594,7 +8594,7 @@ struct perf_buffer *perf_buffer__new(int map_fd, size_t page_cnt, struct perf_buffer_params p = {}; struct perf_event_attr attr = { 0, }; - attr.config = PERF_COUNT_SW_BPF_OUTPUT, + attr.config = PERF_COUNT_SW_BPF_OUTPUT; attr.type = PERF_TYPE_SOFTWARE; attr.sample_type = PERF_SAMPLE_RAW; attr.sample_period = 1; -- 2.17.1