mirror of
https://github.com/ARM-software/devlib.git
synced 2025-02-07 05:30:44 +00:00
Configuration sysfs files required by ftrace are usually accessible only by the root user. In systems where ADB does not run as root by default, the initialisation of the ftrace module fails. This patch ensure that all ftrace commands are executed with root privileges. Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>