Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
af20e1e3
Commit
af20e1e3
authored
Mar 30, 2017
by
4ast
Committed by
GitHub
Mar 30, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1083 from palmtenor/fixdoc
Fix some documentation mistakes
parents
f37434bd
9cb55729
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
docs/reference_guide.md
docs/reference_guide.md
+1
-1
docs/tutorial_bcc_python_developer.md
docs/tutorial_bcc_python_developer.md
+1
-1
No files found.
docs/reference_guide.md
View file @
af20e1e3
...
...
@@ -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
)
...
...
docs/tutorial_bcc_python_developer.md
View file @
af20e1e3
...
...
@@ -669,7 +669,7 @@ struct key_t {
u32
curr_pid
;
};
// map_type, key_type, leaf_type, table_name, num_entry
BPF_HASH
(
st
ruct
key_t
,
u64
,
stats
,
1024
);
BPF_HASH
(
st
ats
,
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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment