Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bcc
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
la
platform
external
bcc
Commits
6321d00a
Commit
6321d00a
authored
9 years ago
by
Brendan Gregg
Browse files
Options
Downloads
Patches
Plain Diff
update comments
parent
6f075b93
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/biotop.py
+3
-1
3 additions, 1 deletion
tools/biotop.py
with
3 additions
and
1 deletion
tools/biotop.py
+
3
−
1
View file @
6321d00a
...
...
@@ -59,12 +59,13 @@ b = BPF(text="""
#include <uapi/linux/ptrace.h>
#include <linux/blkdev.h>
//
a value of one map, and a key for another:
//
for saving process info by request
struct who_t {
u32 pid;
char name[TASK_COMM_LEN];
};
// the key for the output summary
struct info_t {
u32 pid;
int type;
...
...
@@ -73,6 +74,7 @@ struct info_t {
char name[TASK_COMM_LEN];
};
// the value of the output summary
struct val_t {
u64 bytes;
u64 us;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment