Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

INTERNAL: add android prop to dump batch buffer in userspace #152

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kanlihu
Copy link
Contributor

@kanlihu kanlihu commented Apr 16, 2020

How to use the patch
dump batch buffer on the storage
adb root
adb remount
setenforce 0

mkdir -p /data/data/android/mesa3d_intel/
chmod 777 /data/data/android/mesa3d_intel/
setprop INTEL_DEBUG "bat"

getprop |grep INTEL_DEBUG
ps -e surfaceflinger

Signed-off-by: Kanli Hu [email protected]

adb root
adb remount
setenforce 0

mkdir -p /data/data/android/mesa3d_intel/
chmod 777 /data/data/android/mesa3d_intel/
setprop INTEL_DEBUG "bat"

getprop |grep INTEL_DEBUG

Signed-off-by: Kanli Hu <[email protected]>
Copy link
Contributor

@renchenglei renchenglei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I know, most of time, we need some other work to "remount". From the description, we only create file in "data", do we still need "adb remount"?

src/mesa/drivers/dri/Android.mk Outdated Show resolved Hide resolved
adb root
setenforce 0

mkdir -p /data/data/android/mesa3d_intel/
chmod 777 /data/data/android/mesa3d_intel/
setprop INTEL_DEBUG "bat"

getprop |grep INTEL_DEBUG

remove unused include path

Signed-off-by: Kanli Hu <[email protected]>
Copy link

@sysopenci sysopenci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autobuild started from pull-request-changes on this PR.

FAILURE: CheckBug Bad comments/Bugs

For more information, see: /absp/builders/celadon-autobuild/builds/1914

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants