Contributors: 12
Author |
Tokens |
Token Proportion |
Commits |
Commit Proportion |
Arnaldo Carvalho de Melo |
134 |
45.42% |
7 |
28.00% |
Masami Hiramatsu |
88 |
29.83% |
7 |
28.00% |
James Clark |
18 |
6.10% |
1 |
4.00% |
Ingo Molnar |
18 |
6.10% |
2 |
8.00% |
Hitoshi Mitake |
15 |
5.08% |
1 |
4.00% |
Adrian Hunter |
7 |
2.37% |
1 |
4.00% |
Namhyung Kim |
6 |
2.03% |
1 |
4.00% |
Andi Kleen |
4 |
1.36% |
1 |
4.00% |
Jiri Olsa |
2 |
0.68% |
1 |
4.00% |
Greg Kroah-Hartman |
1 |
0.34% |
1 |
4.00% |
Borislav Petkov |
1 |
0.34% |
1 |
4.00% |
Fabian Hemmer |
1 |
0.34% |
1 |
4.00% |
Total |
295 |
|
25 |
|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef PERF_STRING_H
#define PERF_STRING_H
#include <linux/string.h>
#include <linux/types.h>
#include <sys/types.h> // pid_t
#include <stddef.h>
#include <string.h>
extern const char *graph_dotted_line;
extern const char *dots;
s64 perf_atoll(const char *str);
bool strglobmatch(const char *str, const char *pat);
bool strglobmatch_nocase(const char *str, const char *pat);
bool strlazymatch(const char *str, const char *pat);
static inline bool strisglob(const char *str)
{
return strpbrk(str, "*?[") != NULL;
}
int strtailcmp(const char *s1, const char *s2);
char *asprintf_expr_inout_ints(const char *var, bool in, size_t nints, int *ints);
static inline char *asprintf_expr_in_ints(const char *var, size_t nints, int *ints)
{
return asprintf_expr_inout_ints(var, true, nints, ints);
}
static inline char *asprintf_expr_not_in_ints(const char *var, size_t nints, int *ints)
{
return asprintf_expr_inout_ints(var, false, nints, ints);
}
char *asprintf__tp_filter_pids(size_t npids, pid_t *pids);
char *strpbrk_esc(char *str, const char *stopset);
char *strdup_esc(const char *str);
char *strpbrk_esq(char *str, const char *stopset);
char *strdup_esq(const char *str);
unsigned int hex(char c);
char *strreplace_chars(char needle, const char *haystack, const char *replace);
#endif /* PERF_STRING_H */