dumpstate: Collect PCIe link statistics
Collect PCIe link statistics in dump_pcie.sh script. Move SELinux type declaration 'sysfs_pcie' here. Test: adb bugreport && unzip bugreport*.zip && grep link_stats dumpstate_board.txt Bug: 266561593 Change-Id: Iecf3a5a20892efb6d9cc9f4a5c322aafa76f8e7f Signed-off-by: Doug Zobel <zobel@google.com>
This commit is contained in:
parent
3cee7a2fca
commit
79061895f2
3 changed files with 10 additions and 0 deletions
|
@ -3,3 +3,9 @@ echo "--- pcie0 dump ---"
|
|||
cat /dev/logbuffer_pcie0
|
||||
echo "--- pcie1 dump ---"
|
||||
cat /dev/logbuffer_pcie1
|
||||
|
||||
echo "--- pcie link statistics ---"
|
||||
for f in /sys/devices/platform/*.pcie/link_stats/*
|
||||
do
|
||||
echo "$f: `cat $f`"
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue