自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 循环

#!/bin/bash list=`seq 1 10` for node in $list do         list_inside=`seq 1 10`         for node_inside in $list_inside         do                 echo "$node * $node_inside = $(($node*$node_in

2016-05-09 22:54:28 180 1

原创 sysfs文件使用

#include #include #include #include #include static int sysfs_value; static ssize_t sysfs_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { return sprintf(buf, "%d\n", sysfs

2016-03-07 00:22:25 245

原创 内核态程序hello world

#include #include static int __init hello_init(void) { printk(KERN_WARNING "hello world.\n"); return 0; } static void __exit hello_exit(void) //清除函数 { printk(KERN_WARNING "goodbye c

2016-03-06 23:33:33 293

原创 ubuntu环境下搭建kgdb调试环境

概要:使用kgdb阅读内核代码是一个很不错的选择。本文主要描述在ubuntu下搭建kgdb环境的过程。 (一)使用环境 虚拟机 Workstation 10.0 (二)编译内核 1、下载最新linux内核源码。地址 http://www.kernel.org/;我下载的是 linux-3.13.6的版本,其他版本方法类似 2、解压下载的源码。源码放在哪个目录都能编,为

2014-03-23 14:51:14 1231 1

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除