cts: statsd: distinguish between file not found and tracing disabled

Due to an unfortunate combination of 31ee3ef13b5d33973ad533b91145b43e00e44d09
and ee946bc9503dd02a9e1c462da7056415de43ee20 , we ended up in the state
where if debugfs is not available, we would never check if tracefs is
available because tracing would be assumed to be disabled.

Change the behaviour to return -1 instead of 0 when the file is not
found - we should always have one of tracefs and debugfs available as
it is mandated by the CDD so if both paths are not found, this is a
genuine failure and should not be hidden.

Also change the behaviour to look at tracefs first as going forward, it
will be the default as debugfs is heading towards removal.

Bug: 157433028
Change-Id: I1f75c4b935868e95c6100e4a7e279dfc404df179
Merged-In: I91e6552d0b5ab241144df8805ffb05a47ac812b4
1 file changed