[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190908132830.GA222866@google.com>
Date: Sun, 8 Sep 2019 22:28:32 +0900
From: Namhyung Kim <namhyung@...nel.org>
To: Tejun Heo <tj@...nel.org>
Cc: Ingo Molnar <mingo@...nel.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
LKML <linux-kernel@...r.kernel.org>,
Jiri Olsa <jolsa@...hat.com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Stephane Eranian <eranian@...gle.com>,
Li Zefan <lizefan@...wei.com>,
Johannes Weiner <hannes@...xchg.org>
Subject: Re: [PATCH 2/9] perf/core: Add PERF_SAMPLE_CGROUP feature
Hi Tejun,
On Thu, Sep 05, 2019 at 09:56:55AM -0700, Tejun Heo wrote:
> Hello, Namhyung.
>
> On Tue, Sep 03, 2019 at 10:13:08AM +0800, Namhyung Kim wrote:
> > So is my understanding below correct?
> >
> > * currently kernfs ino+gen is different than inode's ino+gen
>
> They're the same. It's just that cgroup has other less useful IDs
> too.
Ah, ok.
>
> > * but it'd be better to make them same
> > * so move (generic?) inode's ino+gen logic to cgroup
> > * and kernfs node use the same logic (and number)
> > * so perf sampling code (NMI) just access kernfs node
> > * and userspace can use file handle for comparison
>
> The rest, yes, pretty much.
Thanks for the clarification. I'll take a look at it.
Thanks
Namhyung
Powered by blists - more mailing lists