# show the first argument passed to ether_input function
dtrace -n 'fbt::ether_input:entry { print(*(args[0])); }'
# dump first 32 bytes of the dereferenced pointer to the actual data arriving on the wire
dtrace -n 'fbt:kernel:ether_input:entry { tracemem(args[1]->m_data, 32); }'
Created
June 8, 2017 15:34
-
-
Save dch/8be296d2da3e12500721da831baedd5c to your computer and use it in GitHub Desktop.