GeezerVison is showing github.com — fixdoc · rabbitstack/bcc@9cb5572
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: docs/reference_guide.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -28,7 +28,7 @@ This guide is incomplete. If something feels missing, check the bcc and kernel s |
28 | 28 | - [Maps](#maps) |
29 | 29 | - [1. BPF_TABLE](#1-bpf_table) |
30 | 30 | - [2. BPF_HASH](#2-bpf_hash) |
31 | | - - [3. BPF_ARRAY](#2-bpf_array) |
| 31 | + - [3. BPF_ARRAY](#3-bpf_array) |
32 | 32 | - [4. BPF_HISTOGRAM](#4-bpf_histogram) |
33 | 33 | - [5. BPF_STACK_TRACE](#5-bpf_stack_trace) |
34 | 34 | - [6. BPF_PERF_ARRAY](#6-bpf_perf_array) |
|
Collapse file
Copy file name to clipboardExpand all lines: docs/tutorial_bcc_python_developer.md +1-1Lines changed: 1 addition & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -669,7 +669,7 @@ struct key_t { |
669 | 669 | u32 curr_pid; |
670 | 670 | }; |
671 | 671 | // map_type, key_type, leaf_type, table_name, num_entry |
672 | | -BPF_HASH(struct key_t, u64, stats, 1024); |
| 672 | +BPF_HASH(stats, struct key_t, u64, 1024); |
673 | 673 | // attach to finish_task_switch in kernel/sched/core.c, which has the following |
674 | 674 | // prototype: |
675 | 675 | // struct rq *finish_task_switch(struct task_struct *prev) |
|