mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-08 18:26:48 +00:00
* 实现写日志和读取日志,并且能够在用户态下执行dmesg命令查看日志 * 通过klogctl实现dmesg * 改用ConstGenericRingBuffer作内核缓冲区 * 更改缓冲区容量 * 将能够输出到控制台的日志级别改为日志级别枚举类,使用SpinLock控制KMSG,使用枚举类定义SYSLOG_ACTION,将do_syslog系统调用接口放在syscall.rs * fix warning * 完善do_syslog注释 * 将KMSG接入kinfo、kdebug等 * fix warning * 修复显示的秒数不正确,·以及无法通过CI的问题
198 lines
4.8 KiB
JSON
198 lines
4.8 KiB
JSON
{
|
|
"files.associations": {
|
|
"stdlib.h": "c",
|
|
"stdbool.h": "c",
|
|
"printk.h": "c",
|
|
"stdarg.h": "c",
|
|
"trap.h": "c",
|
|
"gate.h": "c",
|
|
"process.h": "c",
|
|
"cpu.h": "c",
|
|
"mm.h": "c",
|
|
"glib.h": "c",
|
|
"asm.h": "c",
|
|
"memory.h": "c",
|
|
"irq.h": "c",
|
|
"multiboot2.h": "c",
|
|
"kprint.h": "c",
|
|
"8259a.h": "c",
|
|
"ptrace.h": "c",
|
|
"mouse.h": "c",
|
|
"keyboard.h": "c",
|
|
"apic.h": "c",
|
|
"ps2_keyboard.h": "c",
|
|
"algorithm": "c",
|
|
"array": "c",
|
|
"atomic": "c",
|
|
"*.tcc": "c",
|
|
"bitset": "c",
|
|
"cassert": "c",
|
|
"cctype": "c",
|
|
"cerrno": "c",
|
|
"cfloat": "c",
|
|
"chrono": "c",
|
|
"climits": "c",
|
|
"clocale": "c",
|
|
"cmath": "c",
|
|
"codecvt": "c",
|
|
"condition_variable": "c",
|
|
"cstdarg": "c",
|
|
"cstddef": "c",
|
|
"cstdint": "c",
|
|
"cstdio": "c",
|
|
"cstdlib": "c",
|
|
"cstring": "c",
|
|
"ctime": "c",
|
|
"cwchar": "c",
|
|
"cwctype": "c",
|
|
"deque": "c",
|
|
"exception": "c",
|
|
"forward_list": "c",
|
|
"functional": "c",
|
|
"iterator": "c",
|
|
"list": "c",
|
|
"map": "c",
|
|
"memory": "c",
|
|
"memory_resource": "c",
|
|
"numeric": "c",
|
|
"optional": "c",
|
|
"random": "c",
|
|
"ratio": "c",
|
|
"set": "c",
|
|
"string": "c",
|
|
"string_view": "c",
|
|
"system_error": "c",
|
|
"tuple": "c",
|
|
"type_traits": "c",
|
|
"unordered_map": "c",
|
|
"utility": "c",
|
|
"vector": "c",
|
|
"fstream": "c",
|
|
"initializer_list": "c",
|
|
"ios": "c",
|
|
"iosfwd": "c",
|
|
"istream": "c",
|
|
"limits": "c",
|
|
"locale": "c",
|
|
"mutex": "c",
|
|
"new": "c",
|
|
"ostream": "c",
|
|
"queue": "c",
|
|
"sstream": "c",
|
|
"stdexcept": "c",
|
|
"streambuf": "c",
|
|
"thread": "c",
|
|
"cinttypes": "c",
|
|
"cstdbool": "c",
|
|
"typeinfo": "c",
|
|
"x86_64_ipi.h": "c",
|
|
"unistd.h": "c",
|
|
"syscall_num.h": "c",
|
|
"stdint.h": "c",
|
|
"syscall.h": "c",
|
|
"fcntl.h": "c",
|
|
"types.h": "c",
|
|
"string.h": "c",
|
|
"math.h": "c",
|
|
"ipi.h": "c",
|
|
"arch.h": "c",
|
|
"stdio.h": "c",
|
|
"wait_queue.h": "c",
|
|
"stddef.h": "c",
|
|
"spinlock.h": "c",
|
|
"stat.h": "c",
|
|
"video.h": "c",
|
|
"libm.h": "c",
|
|
"ahci.h": "c",
|
|
"slab.h": "c",
|
|
"boot_info.h": "c",
|
|
"pci.h": "c",
|
|
"time.h": "c",
|
|
"ia64_msi.h": "c",
|
|
"errno.h": "c",
|
|
"bug.h": "c",
|
|
"apic_timer.h": "c",
|
|
"sched.h": "c",
|
|
"preempt.h": "c",
|
|
"softirq.h": "c",
|
|
"screen_manager.h": "c",
|
|
"textui.h": "c",
|
|
"atomic.h": "c",
|
|
"uart.h": "c",
|
|
"fat_ent.h": "c",
|
|
"semaphore.h": "c",
|
|
"mm-types.h": "c",
|
|
"vfs.h": "c",
|
|
"current.h": "c",
|
|
"traceback.h": "c",
|
|
"bitcount.h": "c",
|
|
"limits.h": "c",
|
|
"mutex.h": "c",
|
|
"mount.h": "c",
|
|
"internal.h": "c",
|
|
"devfs.h": "c",
|
|
"devfs-types.h": "c",
|
|
"chardev.h": "c",
|
|
"rootfs.h": "c",
|
|
"tty.h": "c",
|
|
"idr.h": "c",
|
|
"ktest_utils.h": "c",
|
|
"kthread.h": "c",
|
|
"lockref.h": "c",
|
|
"compiler_attributes.h": "c",
|
|
"timer.h": "c",
|
|
"hid.h": "c",
|
|
"proc.h": "c",
|
|
"compiler.h": "c",
|
|
"hpet.h": "c",
|
|
"numa.h": "c",
|
|
"procfs.h": "c",
|
|
"err.h": "c",
|
|
"rtc.h": "c",
|
|
"list.h": "c",
|
|
"fat32.h": "c",
|
|
"irqflags.h": "c",
|
|
"dirent.h": "c",
|
|
"cmd_help.h": "c",
|
|
"wait.h": "c",
|
|
"__libc__.h": "c",
|
|
"ctype.h": "c",
|
|
"mmio.h": "c",
|
|
"stdint-gcc.h": "c",
|
|
"acpi.h": "c",
|
|
"assert.h": "c",
|
|
"sys_version.h": "c",
|
|
"cmd.h": "c",
|
|
"sleep.h": "c",
|
|
"net.h": "c",
|
|
"lz4.h": "c",
|
|
"cmd_test.h": "c",
|
|
"cmpxchg.h": "c",
|
|
"mman.h": "c",
|
|
"clocksource.h": "c",
|
|
"ata.h": "c",
|
|
"barrier": "c",
|
|
"charconv": "c",
|
|
"printf.h": "c",
|
|
"klog.h": "c",
|
|
"sqlite3ext.h": "c",
|
|
"malloc.h": "c",
|
|
"*.o": "c",
|
|
"k_log.h": "c"
|
|
},
|
|
"C_Cpp.errorSquiggles": "enabled",
|
|
"esbonio.sphinx.confDir": "",
|
|
"rust-analyzer.checkOnSave.allTargets": false,
|
|
"rust-analyzer.linkedProjects": [
|
|
"./kernel/Cargo.toml",
|
|
"./tools/Cargo.toml",
|
|
],
|
|
// "rust-analyzer.cargo.target": "riscv64imac-unknown-none-elf",
|
|
"rust-analyzer.cargo.target": "x86_64-unknown-none",
|
|
"rust-analyzer.check.overrideCommand": [
|
|
"make",
|
|
"check",
|
|
|
|
],
|
|
|
|
} |