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
849f83d2
Commit
849f83d2
authored
Feb 11, 2016
by
Brenden Blanco
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #368 from iovisor/runqlat-fix
Fix for improper includes in runqlat.py
parents
21878139
11a21c86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
tools/runqlat.py
tools/runqlat.py
+3
-1
No files found.
tools/runqlat.py
View file @
849f83d2
...
@@ -59,7 +59,7 @@ debug = 0
...
@@ -59,7 +59,7 @@ debug = 0
# define BPF program
# define BPF program
bpf_text
=
"""
bpf_text
=
"""
#include <uapi/linux/ptrace.h>
#include <uapi/linux/ptrace.h>
#include
"kernel/sched/sched.h"
#include
<linux/sched.h>
typedef struct pid_key {
typedef struct pid_key {
u64 pid; // work around
u64 pid; // work around
...
@@ -68,6 +68,8 @@ typedef struct pid_key {
...
@@ -68,6 +68,8 @@ typedef struct pid_key {
BPF_HASH(start, u32);
BPF_HASH(start, u32);
STORAGE
STORAGE
struct rq;
// record enqueue timestamp
// record enqueue timestamp
int trace_enqueue(struct pt_regs *ctx, struct rq *rq, struct task_struct *p,
int trace_enqueue(struct pt_regs *ctx, struct rq *rq, struct task_struct *p,
int flags)
int flags)
...
...
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