judge developer mode except hiview

Change-Id: I523f613802a977180aa5f29b68ca750b433d2399
Signed-off-by: leiguangyu <leiguangyu@huawei.com>
This commit is contained in:
leiguangyu 2024-08-31 09:29:32 +08:00
parent ecbcc14403
commit d0d1d45269

View File

@ -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;
}