You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that our dev field is FS dependent and thus it cannot be relied upon.
There is no way to fix this (at least on eBPF probes), since we miss the needed helpers.
The text was updated successfully, but these errors were encountered:
During the development of ppc64 me and @Andreagit97 noticed that some
open
related tests were failing to assert thedev
field:Digging into it, we noticed that
vfs_getattr_nosec
calls a filesystem dependentgetattr
callback (https://elixir.bootlin.com/linux/v6.7.7/source/fs/stat.c#L135), that, forbtrfs
(the filesystem being used by our ppc64 test node), setsdev
field differently: https://elixir.bootlin.com/linux/v6.7.7/source/fs/btrfs/inode.c#L8692.See the call trace:
This means that our
dev
field is FS dependent and thus it cannot be relied upon.There is no way to fix this (at least on eBPF probes), since we miss the needed helpers.
The text was updated successfully, but these errors were encountered: