This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: 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 13:41:44 +0200
- Subject: Re: master's current HEAD still uses file->f_dentry, removed in Linux 3.19
- Authentication-results: sourceware.org; auth=none
- References: <1460712900 dot 2376 dot 1 dot camel at suse dot cz>
On Fri, 2016-04-15 at 11:35 +0200, Giovanni Gherdovich wrote:
>
> [...] 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'
Sorry, my bad.
I was running SystemTap 2.5; I upgraded to 3.0 and the problem if
fixed.
The rev I missed is
commit: 547f6291433b574186e82f4afe233b00b7eb242e
date: Tue, 6 Jan 2015 10:07:01 -0600
title: Fixed compile problem on 3.18 kernels, caused by removal of
dentry macro.
https://sourceware.org/git/?p=systemtap.git;a=commit;h=547f6291433b5741
86e82f4afe233b00b7eb242e
appeared in 2.7.
Regards,
Giovanni