[OE-core] [PATCH 1/1] latencytop: fix mount error

Burton, Ross ross.burton at intel.com
Thu Jul 10 08:59:52 UTC 2014


On 9 July 2014 21:50, Richard Purdie <richard.purdie at linuxfoundation.org> wrote:
> On Wed, 2014-07-09 at 21:52 +0300, Roxana Ciobanu wrote:
>> Added a check to ensure debugfs is not mounted before trying
>> to mount it, because sysfs.sh already mounts it.

Using stat() you should be able to identify if /debug is a mount
point, which will avoid the shell tests.

Ross



More information about the Openembedded-core mailing list