* writev + bytes_to_write cast error on newer kernels
@ 2023-11-07 18:15 Daire Byrne
0 siblings, 0 replies; only message in thread
From: Daire Byrne @ 2023-11-07 18:15 UTC (permalink / raw)
To: systemtap
Hi,
I have a script that used to work fine on older kernels but does not
seem to work with newer kernels. For example, on RHEL8 with systemtap
4.8:
stap --ldd -e 'probe vfs.writev{printf("DEBUG size: %d\n", bytes_to_write)}'
But running the same code on a v6.3.7 kernel I get this:
ERROR: read fault [man error::fault] at 0x7f0397e604f8 near operator
'@cast' at /opt/rh/devtoolset-11/root/usr/share/systemtap/tapset/linux/vfs.stp:138:11
WARNING: Number of errors: 1, skipped probes: 0
WARNING: /opt/rh/devtoolset-11/root/usr/bin/staprun exited with status: 1
At a guess, more breakage due to folios in newer kernels?
Cheers,
Daire
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-07 18:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-07 18:15 writev + bytes_to_write cast error on newer kernels Daire Byrne
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).