mirror of
https://gitee.com/openharmony/developtools_hiperf
synced 2024-11-23 07:29:42 +00:00
judge developer mode except hiview
Change-Id: I523f613802a977180aa5f29b68ca750b433d2399 Signed-off-by: leiguangyu <leiguangyu@huawei.com>
This commit is contained in:
parent
ecbcc14403
commit
d0d1d45269
@ -43,7 +43,7 @@ using namespace OHOS::Developtools::HiPerf;
|
||||
int main(const int argc, const char *argv[])
|
||||
{
|
||||
if (!GetDeveloperMode() && !IsAllowProfilingUid()) {
|
||||
printf("error: not in developermode, exit");
|
||||
printf("error: not in developermode, exit\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user