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
eaf4f07d
Commit
eaf4f07d
authored
Jun 11, 2018
by
4ast
Committed by
GitHub
Jun 11, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1809 from iovisor/yhs_dev
add missing types in bps
parents
62af0eac
6f3c825c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
introspection/bps.c
introspection/bps.c
+7
-0
No files found.
introspection/bps.c
View file @
eaf4f07d
...
@@ -32,6 +32,11 @@ static const char * const prog_type_strings[] = {
...
@@ -32,6 +32,11 @@ static const char * const prog_type_strings[] = {
[
BPF_PROG_TYPE_LWT_XMIT
]
=
"lwt xmit"
,
[
BPF_PROG_TYPE_LWT_XMIT
]
=
"lwt xmit"
,
[
BPF_PROG_TYPE_SOCK_OPS
]
=
"sock ops"
,
[
BPF_PROG_TYPE_SOCK_OPS
]
=
"sock ops"
,
[
BPF_PROG_TYPE_SK_SKB
]
=
"sk skb"
,
[
BPF_PROG_TYPE_SK_SKB
]
=
"sk skb"
,
[
BPF_PROG_TYPE_CGROUP_DEVICE
]
=
"cgroup_device"
,
[
BPF_PROG_TYPE_SK_MSG
]
=
"sk_msg"
,
[
BPF_PROG_TYPE_RAW_TRACEPOINT
]
=
"raw_tracepoint"
,
[
BPF_PROG_TYPE_CGROUP_SOCK_ADDR
]
=
"cgroup_sock_addr"
,
[
BPF_PROG_TYPE_LIRC_MODE2
]
=
"lirc_mode2"
,
};
};
static
const
char
*
const
map_type_strings
[]
=
{
static
const
char
*
const
map_type_strings
[]
=
{
...
@@ -51,6 +56,8 @@ static const char * const map_type_strings[] = {
...
@@ -51,6 +56,8 @@ static const char * const map_type_strings[] = {
[
BPF_MAP_TYPE_HASH_OF_MAPS
]
=
"hash of maps"
,
[
BPF_MAP_TYPE_HASH_OF_MAPS
]
=
"hash of maps"
,
[
BPF_MAP_TYPE_DEVMAP
]
=
"devmap"
,
[
BPF_MAP_TYPE_DEVMAP
]
=
"devmap"
,
[
BPF_MAP_TYPE_SOCKMAP
]
=
"sockmap"
,
[
BPF_MAP_TYPE_SOCKMAP
]
=
"sockmap"
,
[
BPF_MAP_TYPE_CPUMAP
]
=
"cpumap"
,
[
BPF_MAP_TYPE_SOCKHASH
]
=
"sockhash"
,
};
};
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)))
...
...
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