]> sourceware.org Git - systemtap.git/commit
Fix vfs.open probe use of 'cred' variable
authorFrank Sorenson <sorenson@redhat.com>
Fri, 7 Feb 2020 16:14:46 +0000 (10:14 -0600)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 19 Feb 2020 19:26:01 +0000 (14:26 -0500)
commit1527d841cef405327ff4b5859ab616de1609e141
treebf2352b98214279f5271fb05ba0fb468437df85d
parent2303f9f86576fe74790b545bee81960bc73f599c
Fix vfs.open probe use of 'cred' variable

Commit f6d683666 adjusted the vfs.open probe to obtain the $cred
target variable from a field of the $file target variable on
kernels where $cred is not available.  This change missed a
second reference to the $cred target variable within the probe.

Fix the reference to the possibly-unavailable target variable
by referencing the systemtap variable just obtained.

Fixes: Commit f6d683666 ("Adjust the vfs_open to provide cred variable with 4.18 kernels")
Signed-off-by: Frank Sorenson <sorenson@redhat.com>
tapset/linux/vfs.stp
This page took 0.027191 seconds and 5 git commands to generate.