From 374dfd9aaf313e3af7074d1a937b0885a2b0b3f6 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 12 Sep 2022 15:50:29 +0800 Subject: [PATCH] modify project struct --- README.md | 21 ++++++++---------- .../detect-tools}/x86/deadlockcheck | Bin .../detect-tools}/x86/deadlockcheck.b | Bin .../detect-tools}/x86/detect_deadlock | Bin package.json => detect-plugin/package.json | 0 {src => detect-plugin/src}/extension.ts | 0 {src => detect-plugin/src}/test/runTest.ts | 0 .../src}/test/suite/extension.test.ts | 0 .../src}/test/suite/index.ts | 0 tsconfig.json => detect-plugin/tsconfig.json | 0 .../vsc-extension-quickstart.md | 0 .../webpack.config.js | 0 yarn.lock => detect-plugin/yarn.lock | 0 13 files changed, 9 insertions(+), 12 deletions(-) rename {detect-tools => detect-plugin/detect-tools}/x86/deadlockcheck (100%) rename {detect-tools => detect-plugin/detect-tools}/x86/deadlockcheck.b (100%) rename {detect-tools => detect-plugin/detect-tools}/x86/detect_deadlock (100%) rename package.json => detect-plugin/package.json (100%) rename {src => detect-plugin/src}/extension.ts (100%) rename {src => detect-plugin/src}/test/runTest.ts (100%) rename {src => detect-plugin/src}/test/suite/extension.test.ts (100%) rename {src => detect-plugin/src}/test/suite/index.ts (100%) rename tsconfig.json => detect-plugin/tsconfig.json (100%) rename vsc-extension-quickstart.md => detect-plugin/vsc-extension-quickstart.md (100%) rename webpack.config.js => detect-plugin/webpack.config.js (100%) rename yarn.lock => detect-plugin/yarn.lock (100%) diff --git a/README.md b/README.md index 0c8d9791..a5dcec07 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # 死锁检测插件 #### 介绍 -deadlock-detect 是一款基于OpenKylin社区kylin-code(https://gitee.com/mcy-kylin/kylin-code)的拓展插件,用于C/C++程序的死锁检测及锁状态分析,帮助开发者在Linux系统下识别多线程死锁状态、 +deadlock-detect 是一款基于OpenKylin社区[kylin-code](https://gitee.com/mcy-kylin/kylin-code)的拓展插件,用于C/C++程序的死锁检测及锁状态分析,帮助开发者在Linux系统下识别多线程死锁状态、互斥锁自旋锁等状态异常问题,并对程序加锁位置分析。 #### 软件架构 目前支持架构: @@ -15,19 +15,16 @@ deadlock-detect 是一款基于OpenKylin社区kylin-code(https://gitee.com/mcy-k 1. 安装指定版本nodejs: 版本要求:>=16.14.x and <17 - 获取地址:https://nodejs.org/dist/ + 获取地址:https://nodejs.org/dist/ 2. 编译view前端 - cd + + cd view-ui npm run build - cp + cp dist detect-plugin/ -a + 3. 编译打包插件 - yarn + cd detect-plugin + yarn compile + yarn package vsce package - - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx diff --git a/detect-tools/x86/deadlockcheck b/detect-plugin/detect-tools/x86/deadlockcheck similarity index 100% rename from detect-tools/x86/deadlockcheck rename to detect-plugin/detect-tools/x86/deadlockcheck diff --git a/detect-tools/x86/deadlockcheck.b b/detect-plugin/detect-tools/x86/deadlockcheck.b similarity index 100% rename from detect-tools/x86/deadlockcheck.b rename to detect-plugin/detect-tools/x86/deadlockcheck.b diff --git a/detect-tools/x86/detect_deadlock b/detect-plugin/detect-tools/x86/detect_deadlock similarity index 100% rename from detect-tools/x86/detect_deadlock rename to detect-plugin/detect-tools/x86/detect_deadlock diff --git a/package.json b/detect-plugin/package.json similarity index 100% rename from package.json rename to detect-plugin/package.json diff --git a/src/extension.ts b/detect-plugin/src/extension.ts similarity index 100% rename from src/extension.ts rename to detect-plugin/src/extension.ts diff --git a/src/test/runTest.ts b/detect-plugin/src/test/runTest.ts similarity index 100% rename from src/test/runTest.ts rename to detect-plugin/src/test/runTest.ts diff --git a/src/test/suite/extension.test.ts b/detect-plugin/src/test/suite/extension.test.ts similarity index 100% rename from src/test/suite/extension.test.ts rename to detect-plugin/src/test/suite/extension.test.ts diff --git a/src/test/suite/index.ts b/detect-plugin/src/test/suite/index.ts similarity index 100% rename from src/test/suite/index.ts rename to detect-plugin/src/test/suite/index.ts diff --git a/tsconfig.json b/detect-plugin/tsconfig.json similarity index 100% rename from tsconfig.json rename to detect-plugin/tsconfig.json diff --git a/vsc-extension-quickstart.md b/detect-plugin/vsc-extension-quickstart.md similarity index 100% rename from vsc-extension-quickstart.md rename to detect-plugin/vsc-extension-quickstart.md diff --git a/webpack.config.js b/detect-plugin/webpack.config.js similarity index 100% rename from webpack.config.js rename to detect-plugin/webpack.config.js diff --git a/yarn.lock b/detect-plugin/yarn.lock similarity index 100% rename from yarn.lock rename to detect-plugin/yarn.lock