public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: Daire Byrne <daire@dneg.com>
To: systemtap <systemtap@sourceware.org>
Subject: vfs.add_to_page_cache not working anymore?
Date: Mon, 12 Jun 2023 16:39:41 +0100	[thread overview]
Message-ID: <CAPt2mGOm2_mXZ5uNEoeZm_H1dGi17229mubquC8P_AfoipjvJQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 627 bytes --]

I have recently updated my kernel (v6.3) and with systemtap version (v4.8),
an old systemtap script I was using has stopped working.

It looks like I was counting pages added via vfs.add_to_page_cache as a
means to work out file reads (over NFS) per pid.

But this function no longer seem to hit at all for me anymore:

stap -e 'probe vfs.add_to_page_cache { printf("Works.\n"); exit() }'

I am aware that v4.9 is the latest systemtap, but I have been struggling to
get it to compile with the new jupyter stuff (my python version is too old).

Anyway, any help or pointers for vfs.add_to_page_cache greatly appreciated.

Daire

             reply	other threads:[~2023-06-12 15:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-12 15:39 Daire Byrne [this message]
2023-06-13 15:22 ` William Cohen
2023-06-13 16:39   ` Daire Byrne
2023-06-13 17:34     ` William Cohen
2023-06-14 12:11       ` Daire Byrne
2023-06-14 15:58         ` Daire Byrne
2023-11-06 11:20           ` Daire Byrne

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPt2mGOm2_mXZ5uNEoeZm_H1dGi17229mubquC8P_AfoipjvJQ@mail.gmail.com \
    --to=daire@dneg.com \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).