上一页 1 2 3 4 5 6 ··· 10 下一页

2018年7月15日

Systemtap: learning notes

摘要: Before using stap, the kernel-debuginfo-$(uname -r), kernel-debuginfo-common-$(uname -m)-$(uname -r) and kernel-devel-$(uname -r) should be installed. 阅读全文

posted @ 2018-07-15 18:48 三叁 阅读(267) 评论(0) 推荐(0) 编辑

2018年7月8日

golang: impressed by its cross compiling possibilities

摘要: However till now golang's debug functionality seems far from okay. During debug you cannot print map objects. And also from debugging related aspects, 阅读全文

posted @ 2018-07-08 07:48 三叁 阅读(119) 评论(0) 推荐(0) 编辑

2018年7月4日

Crossbuild: with crosstool-ng

摘要: Before preceding, several things need to be checked: There are too many tutorials on how to build with ct-ng, I only list several useful steps for fut 阅读全文

posted @ 2018-07-04 06:35 三叁 阅读(287) 评论(0) 推荐(0) 编辑

2018年6月2日

LeetCode: fault list

摘要: 1. malloc memory should always use the following form: 2. memset memory to 0 should use the form: 3. malloc(0) might also return address which is non- 阅读全文

posted @ 2018-06-02 02:09 三叁 阅读(208) 评论(0) 推荐(0) 编辑

2018年5月27日

Filesystem: managing

摘要: Linux block devices can be partitioned into several partitions, max to several tens or hundreds primary partitions. (According to MBR or GPT) In order 阅读全文

posted @ 2018-05-27 13:20 三叁 阅读(137) 评论(0) 推荐(0) 编辑

2018年5月24日

Rule of Programming: C

摘要: My summary after reading this. Before doing large memory writes: _mm*_stream_s[i,s,d]*: non-temporal memory store: When data is produced and not (imme 阅读全文

posted @ 2018-05-24 12:04 三叁 阅读(145) 评论(0) 推荐(0) 编辑

CPU: nomenclature

摘要: Some definitive names: 1. Socket: the thing that plug into the motherboard slot; 2. Core: multiple counts of these hardware things are included in 1 c 阅读全文

posted @ 2018-05-24 05:24 三叁 阅读(147) 评论(0) 推荐(0) 编辑

2018年5月3日

IOCTL: usage example

摘要: ioctl is used in communication with modules of Linux. Module: User space In case of Makefile is needed: 阅读全文

posted @ 2018-05-03 17:56 三叁 阅读(465) 评论(0) 推荐(0) 编辑

2018年3月6日

GNU Autoconf: Intro

摘要: some frequently used AC macros: AC_INIT :must AC_OUTPUT :must AC_PREREQ :determine ac version so that needed features are included AC_CONFIG_SRCDIR :d 阅读全文

posted @ 2018-03-06 11:58 三叁 阅读(240) 评论(0) 推荐(0) 编辑

2018年1月20日

TSC: Intro & Comments

摘要: From wiki quote: The Time Stamp Counter (TSC) is a 64-bit register present on all x86 processors since the Pentium. It counts the number of cycles sin 阅读全文

posted @ 2018-01-20 12:12 三叁 阅读(185) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 10 下一页

导航