Skip to content

Commit

Permalink
fixdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
palmtenor committed Mar 31, 2017
1 parent f37434b commit 9cb5572
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This guide is incomplete. If something feels missing, check the bcc and kernel s
- [Maps](#maps)
- [1. BPF_TABLE](#1-bpf_table)
- [2. BPF_HASH](#2-bpf_hash)
- [3. BPF_ARRAY](#2-bpf_array)
- [3. BPF_ARRAY](#3-bpf_array)
- [4. BPF_HISTOGRAM](#4-bpf_histogram)
- [5. BPF_STACK_TRACE](#5-bpf_stack_trace)
- [6. BPF_PERF_ARRAY](#6-bpf_perf_array)
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial_bcc_python_developer.md
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ struct key_t {
u32 curr_pid;
};
// map_type, key_type, leaf_type, table_name, num_entry
BPF_HASH(struct key_t, u64, stats, 1024);
BPF_HASH(stats, struct key_t, u64, 1024);
// attach to finish_task_switch in kernel/sched/core.c, which has the following
// prototype:
// struct rq *finish_task_switch(struct task_struct *prev)
Expand Down

0 comments on commit 9cb5572

Please sign in to comment.