]> sourceware.org Git - systemtap.git/commit
Fixed BZ920444 by using macros to handle nfs parameter changes.
authorDavid Smith <dsmith@redhat.com>
Fri, 31 May 2013 14:05:23 +0000 (09:05 -0500)
committerDavid Smith <dsmith@redhat.com>
Fri, 31 May 2013 14:05:23 +0000 (09:05 -0500)
commitfb68439fc287231473357c38b6fcd146982b0cbb
tree8940059a7d61974db6e5aeb239a38614dfe756ea
parentf7434d9058e032795f9adfaf1bd995c6c6a99ae7
Fixed BZ920444 by using macros to handle nfs parameter changes.

* tapset/linux/nfs_proc.stpm: New file.
* tapset/linux/nfs_proc.stp: Remove __i2n_ip_proto(),
  __nfs_read_data_info(), and __nfs_write_data_info() functions. Callers
  of those functions now use new macros in nfs_proc.stpm. The advantage
  the macros have, besides clarity, is that they preserve type
  information. Kernel commit 0b7c01533aa9f4a228d07d2768d084acb3a387bc
  changed the commit functions to take a nfs_commit_data structure instead
  of a nfs_write_data_structure. Because functions lose type information,
  systemtap didn't notice this change.
tapset/linux/nfs_proc.stp
tapset/linux/nfs_proc.stpm [new file with mode: 0644]
This page took 0.027021 seconds and 5 git commands to generate.