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

2014-07-14 Thread Burton, Ross
On 14 July 2014 18:49, Saul Wold wrote: > Why do two stats here? Can't you stat an entry inside of the > /sys/kernel/debug directory? It's the idiomatic "is this a mount point" test: look at the device number inside and outside the hopeful mount point, and if they're different then there's a mou

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

2014-07-14 Thread Saul Wold
On 07/14/2014 03:58 AM, Roxana Ciobanu wrote: Added a check to ensure debugfs is not mounted before trying to mount it, because sysfs.sh already mounts it. [ YOCTO #6498 ] Signed-off-by: Roxana Ciobanu --- .../latencytop-0.5/latencytop-fsync-mount.patch| 37 ++ meta/

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

2014-07-14 Thread Roxana Ciobanu
Added a check to ensure debugfs is not mounted before trying to mount it, because sysfs.sh already mounts it. [ YOCTO #6498 ] Signed-off-by: Roxana Ciobanu --- .../latencytop-0.5/latencytop-fsync-mount.patch| 37 ++ meta/recipes-kernel/latencytop/latencytop_0.5.bb | 3