Closed amamory closed 3 years ago
Pull #121 fix this as it first checks whether tracing is enabled outside the app scope. For example, if the json file enables ftrace, it is expected that the user runs ftrace (i.e., set _tracingon to '1' or trace-cmd record ...) before running rt-app. If the user forget it, the rt-app will issue an error 'tracing is not enabled in file ....tracing/tracing_on'.
When running any example with ftrace enable, it causes the following error:
rt-app examples/tutorial/example1.json