This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
master's current HEAD still uses file->f_dentry, removed in Linux 3.19
- From: Giovanni Gherdovich <ggherdovich at suse dot cz>
- To: systemtap at sourceware dot org
- Date: Fri, 15 Apr 2016 11:35:00 +0200
- Subject: master's current HEAD still uses file->f_dentry, removed in Linux 3.19
- Authentication-results: sourceware.org; auth=none
Hello,
was this patch from William Cohen (Dec 2014)
https://sourceware.org/ml/systemtap/2014-q4/msg00257.html
ever applied?
I cloned from git://sourceware.org/git/systemtap.git, and on the tag
release-3.0 (two weeks ago) grepping for f_dentry on the file
runtime/linux/task_finder2.c still gives results.
f_dentry was a macro defined in the Linux kernel (precisely,
include/linux/fs.h) removed in the 3.19 release. With the SystemTap
version I have, even a minimal test script like
stap -ve 'probe begin { log("hello world") exit () }'
fails compilation with
error: 'struct file' has no member named 'f_dentry'
The patch I link above fixes this, but I can't find traces of it in the
git history. Is there something I'm missing?
Regards,
Giovanni