logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

从proc目录下的zoneinfo认识Linux内存管理

最近在看Linux内存管理,从head.S到main.c

#linux
Linux 高精度定时器hrtimer 使用示例

#include#include#include#includestatic struct hrtimer timer;ktime_t kt;static enum hrtimer_restart hrtimer_handler(struct hrtimer *timer){//kt = ktime_set(1, 10);prin

lmbench3 完整移植

首先,下载一份源代码:http://www.bitmover.com/lmbench/get_lmbench.html然后解压。export PATH=$PATH:/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/修改scripts/os,sc

解决perf在imx6q上读写PMU event counter都是零

最近在用perf分析性能,在imx6q上验证PMU event采样,发现cache-misses等硬件事件计数都是0,瞬间崩溃。傻乎乎分析啦perf代码,感觉应该不是perf代码原因,到freescale官网上找到一片类似的问题:https://community.nxp.com/thread/302685http://stackoverflow.com/questions/22567

到底了