[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y0Wfl88objrECjSo@slm.duckdns.org>
Date: Tue, 11 Oct 2022 06:53:43 -1000
From: Tejun Heo <tj@...nel.org>
To: Namhyung Kim <namhyung@...nel.org>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>,
Zefan Li <lizefan.x@...edance.com>,
Johannes Weiner <hannes@...xchg.org>, cgroups@...r.kernel.org,
Jiri Olsa <jolsa@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
linux-perf-users@...r.kernel.org, Song Liu <songliubraving@...com>,
bpf@...r.kernel.org, Andrii Nakryiko <andrii@...nel.org>
Subject: Re: [PATCH v2] perf stat: Support old kernels for bperf cgroup
counting
On Mon, Oct 10, 2022 at 10:28:08PM -0700, Namhyung Kim wrote:
> The recent change in the cgroup will break the backward compatiblity in
> the BPF program. It should support both old and new kernels using BPF
> CO-RE technique.
>
> Like the task_struct->__state handling in the offcpu analysis, we can
> check the field name in the cgroup struct.
>
> Acked-by: Jiri Olsa <jolsa@...nel.org>
> Acked-by: Andrii Nakryiko <andrii@...nel.org>
> Signed-off-by: Namhyung Kim <namhyung@...nel.org>
Applied to cgroup/for-6.1-fixes.
Thanks.
--
tejun
Powered by blists - more mailing lists