mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-24 21:33:27 +00:00
增加内存分配日志监视器 (#424)
* 完成内存日志监视,并输出日志到文件 * 修复进程退出后,procfs查看进程status文件会崩溃的问题 * 修复signal唤醒进程的判断条件问题
This commit is contained in:
@ -10,13 +10,17 @@ edition = "2021"
|
||||
crate-type = ["staticlib"]
|
||||
|
||||
[workspace]
|
||||
members = [ "src/libs/intertrait" ]
|
||||
members = [
|
||||
"crates/*",
|
||||
"src/libs/intertrait"
|
||||
]
|
||||
|
||||
[features]
|
||||
default = ["backtrace"]
|
||||
# 内核栈回溯
|
||||
backtrace = []
|
||||
|
||||
|
||||
# 运行时依赖项
|
||||
[dependencies]
|
||||
x86 = "0.52.0"
|
||||
@ -25,8 +29,6 @@ bit_field = "0.10"
|
||||
bitflags = "1.3.2"
|
||||
bitfield-struct = "0.5.3"
|
||||
virtio-drivers = { git = "https://git.mirrors.dragonos.org/DragonOS-Community/virtio-drivers.git", rev = "f1d1cbb" }
|
||||
# 一个无锁MPSC队列
|
||||
thingbuf = { version = "0.1.3", default-features = false, features = ["alloc"] }
|
||||
smoltcp = { git = "https://git.mirrors.dragonos.org/DragonOS-Community/smoltcp.git", rev = "9027825", default-features = false, features = ["log", "alloc", "socket-raw", "socket-udp", "socket-tcp", "socket-icmp", "socket-dhcpv4", "socket-dns", "proto-ipv4", "proto-ipv6"]}
|
||||
# num-traits 0.2.15
|
||||
num-traits = { git = "https://git.mirrors.dragonos.org/DragonOS-Community/num-traits.git", rev="1597c1c", default-features = false }
|
||||
@ -35,7 +37,6 @@ num-derive = "0.3"
|
||||
# 一个no_std的hashmap、hashset
|
||||
hashbrown = "0.13.2"
|
||||
elf = { version = "0.7.2", default-features = false }
|
||||
memoffset = "0.9.0"
|
||||
atomic_enum = "0.2.0"
|
||||
raw-cpuid = "11.0.1"
|
||||
acpi = { git = "https://git.mirrors.dragonos.org/DragonOS-Community/acpi-rs.git", rev = "fb69243dcf" }
|
||||
@ -43,6 +44,9 @@ intertrait = { path = "src/libs/intertrait" }
|
||||
linkme = "0.2"
|
||||
ida = { path = "src/libs/ida" }
|
||||
mini-backtrace = { git = "https://git.mirrors.dragonos.org/DragonOS-Community/mini-backtrace.git", rev = "ba98506685" }
|
||||
klog_types = { path = "crates/klog_types" }
|
||||
kdepends = { path = "crates/kdepends" }
|
||||
|
||||
|
||||
# 构建时依赖项
|
||||
[build-dependencies]
|
||||
|
Reference in New Issue
Block a user