]> sourceware.org Git - systemtap.git/commit
Adjust the vfs_open to provide cred variable with 4.18 kernels
authorWilliam Cohen <wcohen@redhat.com>
Mon, 19 Nov 2018 19:23:15 +0000 (14:23 -0500)
committerWilliam Cohen <wcohen@redhat.com>
Mon, 19 Nov 2018 19:23:15 +0000 (14:23 -0500)
commitf6d68366654176541487a8916c3b61c5b1207736
treefa45b21cd916469a7e16613543a164299432ed06
parent008a0cbfd2dd91693c66705e381d1328de3bf3d0
Adjust the vfs_open to provide cred variable with 4.18 kernels

The kernel's git commit ae2bb293a3e8adbc54d08cede5afc22929030c03
removed the cred argument from the vfs_open.  Thus, there is no $cred
target variable available.  This missing target variable lives on as a
field in the $file target variable.  The patch makes the tapset use
that field if the $cred target variable is not available.  Fixing this
allows the slowvfs.stp example to work with newer linux 4.18 kernels.
tapset/linux/vfs.stp
This page took 0.02654 seconds and 5 git commands to generate.