Linux system porting: Kernel top-level Makefile

Linux system transplantation: Kernel top-level Makefile (Part 2) Continue to analyze the top-level Makefile execution process of Linux kernel source code 1, make defconfig procedure Like the top-level makefile of uboot, make XXX should be used before compiling the source code_ Defconfig configures the Linux kernel, and the code configure ...

Posted by jason97673 on Thu, 03 Mar 2022 14:59:28 +0100

[experience and popular science] practical analysis of compilation problems that may be encountered in C engineering code and their solutions

1 Preface At the beginning of this month, I sorted out the technical articles: The article [gcc compilation optimization series] shows you how C code is compiled , I have received praise from several friends; At the same time, I was particularly surprised to receive the senior leaders of the forum aozima I'm really honored to recommend a ...

Posted by Pr0digy on Fri, 31 Dec 2021 23:35:30 +0100

mysql highly available MHA + semi synchronous replication

1. Overview of MHA At present, MHA is a relatively mature solution in mysql high availability. It is developed by Japanese DeNA company youshimaton (now working in Facebook company), and it is an excellent high availability software for failover and master-slave improvement in mysql high availability environment. In the process of mysql failov ...

Posted by dbakker on Sun, 22 Mar 2020 16:49:22 +0100

Add module to kernel (failed log record). md

step Adding modules to the kernel Write Driver Add drivers to the linux source directory, typically inside / Drivers Add the project compilation option corresponding to the driver in the Kconfig file where the directory is located Add compilation statements for new drivers to the Makefile file file ...

Posted by jonnyw6969 on Mon, 16 Mar 2020 02:26:13 +0100

Install EPICS in CentOS 6 [detailed operation]

Install EPICS in CentOS 6 [detailed operation] 1, Install EPICS Base 1. Installation tools 2. Install Base 2, Create IOC 1. Create startup file 2. Start IOC Three, expand 4, Install Extensions 1. Download the installation package 2. Environment settings 3. Install software tools 4. Installation ...

Posted by skyxmen on Thu, 06 Feb 2020 08:38:56 +0100

The use of boost log Library

There is a log library for developers to use in boost, but the efficiency is not the highest: Add the header file "include < boost / log / trial. HPP > to import the log Library The log Library in boost has the following six levels: BOOST_LOG_TRIVIAL(trace) << "A trace severity message" ...

Posted by phpyoungdeveloper on Mon, 27 Jan 2020 15:23:30 +0100

linux view file tree structure

tree installation: Using the tree command under linux can easily view the file tree structure under the specified directory, but some systems do not install the command, so you need to install it manually. Take the installation of Ubuntu as an example, and other linux systems are similar. To install under ubuntu: With the net ...

Posted by bedted on Tue, 31 Dec 2019 06:39:21 +0100

python high performance extension tool - python tutorial 2 Basic

The main contents of this chapter are as follows: Link model Python Keyword - cdef Typedef and function pointer public keyword Keyword cpdef C / C + + log to Python C / C + + calls Python ConfigParser Python to C / C + + callback Cython PXD Integration with build systems Link model Embedding python in C/C + + image.png cyth ...

Posted by _rhod on Sat, 28 Dec 2019 16:21:24 +0100

Two methods of adding system call under Linux(Ubuntu) (kernel compilation method module addition)

It is really too pit, really want to Tucao about this operation system practice, each time is compile the kernel. The textbook was written in 2009, all the code before kernel 3.3. I record the system call experiment, hope you can avoid stepping on the pit. Method 1: kernel compilation Here I give you a link. This blog is wel ...

Posted by derrick1123 on Sat, 30 Nov 2019 12:19:12 +0100

014_Driver Module Transfer Parameters

I. Driver Module Transfer Parameters 1. Pass a single parameter (1) Location: in include/linux/moduleparam.h under the source directory (2) Function prototype /** * module_param - typesafe helper for a module/cmdline parameter * @value: the variable to alter, and exposed parameter name. * @type: th ...

Posted by trevorturtle on Wed, 02 Oct 2019 13:55:16 +0200