display-dump: update project-specific crtc sysfs node

Refactor and rename project-specific dump

Bug: 376426334
Test: adb bugreport
Test: adb shell /vendor/bin/dump/dump_*_display
Test: adb shell /vendor/bin/dump/dump_*_second_display
Flag: EXEMPT bugfix
Change-Id: I7bf470e5784e0fd726c49823b55aae6235aceaec
This commit is contained in:
Hung-Yeh Lee 2024-12-19 13:10:37 +08:00
parent 5a51adbdd3
commit bbe22a1056
11 changed files with 103 additions and 12 deletions

View file

@ -1,26 +0,0 @@
#!/vendor/bin/sh
display_trace_path="/sys/kernel/tracing/instances/pixel-display/trace"
echo "------ Display Trace ($display_trace_path)------"
cat $display_trace_path
echo "------ HWC Fence States ------"
for f in $(ls /data/vendor/log/hwc/*_hwc_fence_state*.txt)
do
echo $f
cat $f
done
echo "------ HWC Error Logs ------"
for f in $(ls /data/vendor/log/hwc/*_hwc_error_log*.txt)
do
echo $f
cat $f
done
echo "------ HWC Debug Dumps ------"
for f in $(ls /data/vendor/log/hwc/*_hwc_debug*.dump)
do
echo $f
cat $f
done