mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
增加内存分配日志监视器 (#424)
* 完成内存日志监视,并输出日志到文件 * 修复进程退出后,procfs查看进程status文件会崩溃的问题 * 修复signal唤醒进程的判断条件问题
This commit is contained in:
18
kernel/crates/kdepends/Cargo.toml
Normal file
18
kernel/crates/kdepends/Cargo.toml
Normal 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"]
|
9
kernel/crates/kdepends/src/lib.rs
Normal file
9
kernel/crates/kdepends/src/lib.rs
Normal file
@ -0,0 +1,9 @@
|
||||
#![no_std]
|
||||
|
||||
#[allow(unused)]
|
||||
#[macro_use]
|
||||
pub extern crate thingbuf;
|
||||
|
||||
pub extern crate memoffset;
|
||||
|
||||
pub extern crate crc;
|
Reference in New Issue
Block a user