[lkml]   [2019]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/9] perf/core: Add PERF_SAMPLE_CGROUP feature
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

> * 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.



 \ /
  Last update: 2019-09-05 18:58    [W:0.112 / U:2.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site