增加内存分配日志监视器 (#424)

* 完成内存日志监视,并输出日志到文件
* 修复进程退出后,procfs查看进程status文件会崩溃的问题
* 修复signal唤醒进程的判断条件问题
This commit is contained in:
LoGin
2023-11-07 21:39:27 +08:00
committed by GitHub
parent 70a4e5550a
commit 7b32f5080f
46 changed files with 2033 additions and 59 deletions

View File

@ -0,0 +1,18 @@
[package]
name = "kdepends"
version = "0.1.0"
edition = "2021"
description = "需要导出的依赖项(为保持内核依赖版本与调试器依赖项版本相同,因此把公共依赖项写在这里)"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
memoffset = "0.9.0"
crc = { path = "../crc" }
# 一个无锁MPSC队列
[dependencies.thingbuf]
git = "https://git.mirrors.dragonos.org/DragonOS-Community/thingbuf.git"
rev = "2dded730c3"
default-features = false
features = ["alloc", "static"]

View File

@ -0,0 +1,9 @@
#![no_std]
#[allow(unused)]
#[macro_use]
pub extern crate thingbuf;
pub extern crate memoffset;
pub extern crate crc;