This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, I run the attached to print out the offsets of faulting pages. Both probes should (I think) print the same number but instead I get this: hello: filemap_fault Page: 1678263179 hello: find_get_page Page: 15 hello: filemap_fault Page: 1678263179 hello: find_get_page Page: 1 hello: filemap_fault Page: 1678263179 hello: find_get_page Page: 10 etc. etc. Both functions are from mm/filemap.c. filemap_fault does this: pgoff_t offset = vmf->offset; find_get_page(mapping, offset); Basically, printing the offset in find_get_page works but printing vmf->offset in filemap_fault doesn't. Why? Thanks, P
Attachment:
pages.stp
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |