mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
perf evsel: Adopt find_process()
And make it static, nobody else uses it, if we ever need it in more places we can carve a new source file for process related methods, for now lets reduce util.{c,h} a tad more. Link: http://lkml.kernel.org/n/tip-zgb28rllvypjibw52aaz9p15@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
007b811b40
commit
2157f6ee18
3 changed files with 39 additions and 39 deletions
|
@ -49,8 +49,6 @@ int hex2u64(const char *ptr, u64 *val);
|
|||
extern unsigned int page_size;
|
||||
extern int cacheline_size;
|
||||
|
||||
bool find_process(const char *name);
|
||||
|
||||
int fetch_kernel_version(unsigned int *puint,
|
||||
char *str, size_t str_sz);
|
||||
#define KVER_VERSION(x) (((x) >> 16) & 0xff)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue