• Stars
    star
    183
  • Rank 210,154 (Top 5 %)
  • Language
  • License
    BSD 3-Clause "New...
  • Created over 5 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A small book which introduces Linux perf tool.

Linux perf little book

When talking about perf in Linux, it actually refers to 2 things:

a) Perf_events (also be called as perf for short): a subsystem which was merged into Linux kernel since 2.6.31;

b) A powerful and comprehensive user-space tool: perf, which leverages perf_events subsystem to do performance analysis.

Perf is a really powerful tool. As Brendan Greeg wrote in his Choosing a Linux Tracer (2015):

If there's one tracer I'd recommend people learn, it'd be perf, as it can solve a ton of issues, and is relatively safe.

In this small tutorial, I will give a whirlwind tool of the user-space perf utility.

More Repositories

1

golang-101-hacks

A rudimentary Go tutorial.
371
star
2

strace-little-book

A little book which introduces strace.
Shell
251
star
3

tcpdump-little-book

A small book which introduces tcpdump.
HTML
90
star
4

boost-asio-network-programming-little-book

Boost.Asio network programming little book
81
star
5

openbsd-netcat-demystified

A little book which introduces OpenBSD netcat.
78
star
6

lscpu

lscpu for BSDs.
C
68
star
7

umalloc

A tiny Unix dynamic memory allocator library.
C
62
star
8

gnu-linux-proc-pid-intro

GNU/Linux下的/proc/[pid]目录下的文件分析
55
star
9

read-nmon-code-to-learn-analyzing-linux-performance

Read Nmon Code To Learn Analyzing Linux Performance:
54
star
10

FreeBSD-101-Hacks

A collection of FreeBSD hacks.
41
star
11

free

free command for OpenBSD.
C
25
star
12

ump

A universal thread-safe memory pool.
C++
24
star
13

tcpbench

Porting OpenBSD tcpbench into Linux.
C
23
star
14

using-dtrace-stories

22
star
15

openmp-little-book

A little book which introduces OpenMP C/C++ concurrency programming.
20
star
16

taskset

Bond process with dedicated CPUs on DragonFly BSD
C
9
star
17

getRSS

get the process resident set size (physical memory use).
C
9
star
18

libtlscpp

A C++ encapsulation of libtls
C++
8
star
19

code-for-my-blog

C
8
star
20

stream

STREAM implemented in Rust.
Rust
5
star
21

generic-c-c-plus-plus-makefile

A generic C/C++ Makefile
Makefile
5
star
22

stack

The stack package implemented in golang.
Go
5
star
23

cpu-tips

The small tips of CPU
C
4
star
24

pcap_cpp

C++
4
star
25

The-GO-code-of-wwup

The Go code of Working With UNIX processes.
Go
3
star
26

playstack

Utilize https://github.com/NanXiao/stack package, just a play.
Go
3
star
27

cuda-little-book

CUDA programming little book.
3
star
28

lscuda

A small tool which lists NVIDIA CUDA information.
Cuda
3
star
29

netcat

C
3
star
30

data-race-and-memory-ordering

2
star
31

helloworld

A gRPC example.
Protocol Buffer
1
star
32

RustTCPFramework

A TCP framework implemented in Rust.
Rust
1
star
33

newlisp-examples

Some newlisp examples
NewLisp
1
star
34

elementary-number-theory-with-programming-in-haskell

Haskell
1
star
35

singleton

A simple singleton implemented in C++.
C++
1
star
36

golang-algorithm

Just a simple golang algorithm code repository.
Go
1
star
37

log

A simple log function implemented in C++.
C++
1
star
38

reduce

A simple reduce template implemented in C++.
C++
1
star
39

nb

Shell
1
star
40

gouname

The "uname" command implemented in golang.
Go
1
star
41

aligned_realloc

An implementation of aligned_realloc for C's Dynamic memory management.
C
1
star
42

pcapng_to_pcap

C++
1
star