4 Commits
Author SHA1 Message Date
Anthony CuiandgVisor bot 724e976061 Update documentation for ioctl_sniffer and nvidia_driver_differ tools.
PiperOrigin-RevId: 663537632
2024-08-15 18:55:16 -07:00
Ayush RanjanandgVisor bot 38a9352b08 Refactor ioctl_sniffer to simplify Results struct.
- This simplifies the code and makes it easier to add new ioctl classes in the
  future. Results now just has a list of maps. Earlier, we had 2 map fields and
  a field which was a map of map.
- Fixed some bugs in Ioctl.String() and enhanced the output.

PiperOrigin-RevId: 645499496
2024-06-21 14:22:33 -07:00
Etienne PerotandgVisor bot 6d021e7eb2 Bundle libioctl_hook.so into the run_sniffer tool.
This makes it more convenient to use the `run_sniffer` tool as it is now
self-contained.

This also removes the use of RELR relocations for `libioctl_hook.so` as
I've found that they don't work on the `nvidia-smi` binary I'm working with.
This improves compatibility in general.

PiperOrigin-RevId: 644493298
2024-06-18 13:30:35 -07:00
Anthony CuiandgVisor bot e8ca88e167 Add ioctl sniffing tool to run GPU workloads and report unsupported ioctl calls.
PiperOrigin-RevId: 644197930
2024-06-17 18:32:27 -07:00