"counters monitor or collect performance counters\n"
"dump capture or analyze a coredump\n"
"gcdump capture a heapdump\n"
- "trace collect or convert a diagnostic event trace\n");
+ "trace collect or convert a diagnostic event trace\n\n");
}
int main(int argc, const char* argv[]) {
fprintf(stderr, "This command is not currently supported.\n");
return -1;
} else {
- managedAssemblyPath = toolDllsPath + "/dotnet-" + arg;
+ managedAssemblyPath = toolDllsPath + "/dotnet-" + arg + ".dll";
- if (isFileExist(managedAssemblyPath + ".ni.dll")) {
- managedAssemblyPath += ".ni.dll";
- } else if (isFileExist(managedAssemblyPath + ".dll")) {
- managedAssemblyPath += ".dll";
- } else {
+ if (!isFileExist(managedAssemblyPath)) {
fprintf(stderr,
"Could not execute because dotnet-%s does not exist.\n"
- "Follow the instructions for tool installation: https://github.com/Samsung/diagnostic-tools\n", argv[0]);
+ "Go to https://developer.samsung.com/tizen to learn how to install tools.\n\n", argv[0]);
return -1;
}