腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
使用proc文件打印
mem
_map的虚拟地址
、
、
、
、
'/home/babak/code/
linux
-3.19.5' Building modules, stageLD [M] /home/babak/code/module/
mem
_map.ko make[1]: Leaving directory '/home/
浏览 6
提问于2015-07-06
得票数 0
1
回答
如何使用proc文件打印
mem
_map的信息?
、
#include <
linux
/module.h>#include <
linux
/kernel.h> #include <
linux
/types.h> /* size_t */ #include <
linux
/fcntl.h>
浏览 9
提问于2017-08-21
得票数 1
回答已采纳
2
回答
内存读/写操作中出现总线错误
、
、
、
、
#include<
linux
/kernel.h>#include<
linux
/
init
.h>{ base=kmalloc(5*sizeof(uint32_t),GFP_
浏览 2
提问于2011-05-20
得票数 0
回答已采纳
1
回答
如何在x86-64架构上使用INVLPG?
、
、
、
、
我正在努力测量内存访问时间,并需要减少TLB命中和错过所产生的噪音。我编写了以下代码:{}invlpg BYTE PTR [r
浏览 8
提问于2016-06-10
得票数 3
1
回答
如何在内核空间程序中正确构建环形缓冲区?
、
、
printf ("%s", &last_char); }struct RingBuffer* buffer;buffer = newRingBuffer(BUF_CAPACITY);环缓冲区的实现取自维基百科()。
浏览 3
提问于2022-04-05
得票数 1
回答已采纳
1
回答
如何在内核模块中使用DebugFS blob包装器
、
、
到目前为止,我得到的是:#include <
linux
/moduleparam.h>#include<
linux
/kernel.h>#include <
linux
/debugfs.h>
浏览 3
提问于2013-02-02
得票数 2
1
回答
编译
linux
内核模块show_
mem
例程
、
、
、
我试图在用户定义的内核模块中从show_
mem
()调用mm.h。当我编译时,它会显示未定义的show_
mem
。我正在运行Ubuntu14.04,并有一个编译过的
linux
内核3.19。> /* Needed for KERN_INFO */#include <
linux
/mm.h>
浏览 2
提问于2015-03-02
得票数 1
回答已采纳
1
回答
无法从自定义内核模块在/proc中创建目录
、
、
、
、
(预先谢谢:)static int __
init
lkm_
mem
_
init
(void){ lkm_proc_mkdir最小源代码 #include <
linux<
浏览 7
提问于2020-04-02
得票数 1
回答已采纳
1
回答
linux
内核模块内存检查器
、
、
//
Linux
Kernel headers#include <
linux
/kernel.h>#include <
linux
/config.h> #de
浏览 4
提问于2014-04-17
得票数 0
1
回答
将内核镜像从ELF转换为PE
、
、
、
、
我正在使用Msys构建一个我在
Linux
下编写的家庭brew内核。
Linux
使用ELF作为其二进制格式,而Msys使用PE。我已经将源代码设置为允许Grub使用Multiboot规范引导它。在构建结束时,我得到了一些未定义的符号: main.o:main.c:(.text/lib\libkern.a(
mem
.o):
mem
.c:(.text+0x242
浏览 2
提问于2009-04-04
得票数 1
1
回答
在4.x.x内核上的内存64位中查找sys调用表
、
、
、
我的密码在这里:#include<
linux
/module.h>#include<
linux
/errno.h("GPL"); #define END_
MEM
ULLONG_MAX unsigned
浏览 1
提问于2016-09-15
得票数 3
1
回答
如何彻底清理卷发手柄?
、
、
、
、
(in /usr/lib/x86_64-
linux
-gnu/libcurl-nss.so.4.4.0)==7215== by 0x400872: main (in /home/
mem
_test/
mem
) =
浏览 2
提问于2018-12-21
得票数 3
回答已采纳
2
回答
在
Linux
中,struct page*是在哪里初始化的?
、
、
、
、
正如我们所知道的,
Linux
中的struct page与一个4KB的物理页面相关联,并映射到一个pfn。这构成了
Linux
中内存分配的主干。include\
linux
\mm_types.h中描述的struct page包含有关页面的各种信息。我想知道,在启动过程中struct page是什么时候分配的,是谁初始化了这些struct page结构,在哪里(在
linux
中)?
浏览 73
提问于2021-04-29
得票数 1
回答已采纳
1
回答
如果
Linux
内核模块不使用任何物理硬件,那么它是否可以使用UIO?
、
、
、
、
#include <
linux
/module.h> // Needed by all modules#include <
linux
/slab.h> // GFP_ defs #include <
浏览 9
提问于2016-06-03
得票数 0
2
回答
如何遍历对象和数组的项
、
、
、
、
// How to read influx data with curl$ch = curl_
init
tags":{"hostname":"
LINUX
02"},"columns":["time","cpu","
mem
","load","loa
浏览 38
提问于2018-12-27
得票数 1
回答已采纳
1
回答
Linux
内存管理器中的“弱引用”?
、
、
、
在
Linux
中,malloc()总是返回一个强引用,即。直到调用方调用free()函数,指针才会被释放。cache_alloc(&cache)) cache_lock(&cache); // realloc cache
mem
if it is collectedcache->user_
init
) { // The "user_
init
" maybe reset if the
浏览 1
提问于2012-09-28
得票数 0
回答已采纳
2
回答
如何在重新引导后检测内核死机
、
、
、
我在嵌入式设备上意外重启。多亏了ioctl调用,我目前能够检测到硬件看门狗问题。现在,我希望能够检测到内核死机是否是重新启动的原因。我找到了一些关于crashkernel和crashdump的文章,但是我不能让它正常工作。我不想存储内核死机日志。只要能够知道是否发生了内核恐慌。没有标准的方法能够检查内核在启动时是否发生了死机?
浏览 5
提问于2017-12-11
得票数 2
1
回答
安装flowCore软件包R时出错
、
block_cache = { 0, 0, BOOST_STATIC_MUTEX_
INIT
, };^ In file included from /home/nitin/R/x86_64-pc-
linux
-gnu-library/3.3/BH/include/boost/regex/v4/
mem
_block_cache.hppblock_cache = { 0, 0, BOOST_STATIC_MUTEX_
INIT
浏览 9
提问于2016-11-21
得票数 4
回答已采纳
1
回答
具有classmethod的本地类不工作,但导入的版本工作。
、
我正在创建一个经理成员对类,分别是Mgr和
Mem
。Mgr类通过在
Mem
.set_manager
init
期间调用(Self)来设置对自身的引用。import
Mem
def __
init
__(self): def set_mgr(cls, mgr): print
浏览 0
提问于2021-03-04
得票数 0
1
回答
是否有一种方法可以使用预处理器为符号生成像+或-从ascii号这样的运算符,而不包括该符号?
、
所以我试图混淆一些c代码,我想知道是否有一种方法可以从ascii中的十六进制/八进制/十进制代码中生成一个操作符,比如&(用于地址),或者+或-(用于加/减)等等,而不需要使用某种表格或包含字符的东西。#define ADD(a, b) (a HEX(0x2b) b)
浏览 3
提问于2015-03-10
得票数 2
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
实时音视频
活动推荐
运营活动
广告
关闭
领券