diff options
Diffstat (limited to 'simpleperf/environment.h')
-rw-r--r-- | simpleperf/environment.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/simpleperf/environment.h b/simpleperf/environment.h index a2f0c4bd..603c9e60 100644 --- a/simpleperf/environment.h +++ b/simpleperf/environment.h @@ -96,4 +96,8 @@ bool RunInAppContext(const std::string& app_package_name, const std::string& cmd const std::vector<std::string>& args, size_t workload_args_size, const std::string& output_filepath); +// Below two functions are only used in cts tests, to force stat/record cmd to run in app's context. +void SetDefaultAppPackageName(const std::string& package_name); +const std::string& GetDefaultAppPackageName(); + #endif // SIMPLE_PERF_ENVIRONMENT_H_ |