I would like to write a userspace program to talk to SurfaceFlinger and call its dump
function. How can I access SurfaceFlinger and make such a call from my C++ program?
I know that SurfaceFlinger is instantiated in main_surfaceflinger.cpp and is published. I don't know how to use it in my C++ program.