repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git]
/
tools
/
testing
/
selftests
/
bpf
/
trace_helpers.h
blob
0383c9b8adc187271af96204e62251874baccdf3
1
/* SPDX-License-Identifier: GPL-2.0 */
2
#ifndef __TRACE_HELPER_H
3
#define __TRACE_HELPER_H
4
5
#include <bpf/libbpf.h>
6
7
struct
ksym
{
8
long
addr
;
9
char
*
name
;
10
};
11
12
int
load_kallsyms
(
void
);
13
struct
ksym
*
ksym_search
(
long
key
);
14
long
ksym_get_addr
(
const char
*
name
);
15
16
#endif