commit | 3e6a04086306d187416042a657c35e355d06f1d3 | [log] [tgz] |
---|---|---|
author | Patrick Bellasi <patrick.bellasi@arm.com> | Wed Sep 21 16:17:45 2016 +0100 |
committer | Patrick Bellasi <patrick.bellasi@arm.com> | Wed Sep 21 16:17:45 2016 +0100 |
tree | d9f280ae0c8efbbe0b94421e28ffadc841c43ecf | |
parent | 08b36e71cbb6b58e40e8f13abd84bf1ba14911df [diff] |
ftrace: ensure ftrace commands are executed as root 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>