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
3558d5a8
Commit
3558d5a8
authored
Jan 09, 2018
by
yonghong-song
Committed by
GitHub
Jan 09, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1522 from palmtenor/buf_size
Increase bpf_attach_tracing_event buffer size
parents
956a9832
be578b79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/cc/libbpf.c
src/cc/libbpf.c
+1
-1
No files found.
src/cc/libbpf.c
View file @
3558d5a8
...
@@ -540,7 +540,7 @@ static int bpf_attach_tracing_event(int progfd, const char *event_path,
...
@@ -540,7 +540,7 @@ static int bpf_attach_tracing_event(int progfd, const char *event_path,
struct
perf_reader
*
reader
,
int
pid
)
{
struct
perf_reader
*
reader
,
int
pid
)
{
int
efd
,
pfd
,
cpu
=
0
;
int
efd
,
pfd
,
cpu
=
0
;
ssize_t
bytes
;
ssize_t
bytes
;
char
buf
[
256
];
char
buf
[
PATH_MAX
];
struct
perf_event_attr
attr
=
{};
struct
perf_event_attr
attr
=
{};
snprintf
(
buf
,
sizeof
(
buf
),
"%s/id"
,
event_path
);
snprintf
(
buf
,
sizeof
(
buf
),
"%s/id"
,
event_path
);
...
...
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