mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
![Changbin Du](/assets/img/avatar_default.png)
This factors out a general function perf_parse_sublevel_options() to parse sublevel options. The 'sublevel' options is something like the '--debug' options which allow more sublevel options. Signed-off-by: Changbin Du <changbin.du@gmail.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt (VMware) <rostedt@goodmis.org> Link: http://lore.kernel.org/lkml/20200808023141.14227-8-changbin.du@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
11 lines
No EOL
231 B
C
11 lines
No EOL
231 B
C
#ifndef _PERF_PARSE_SUBLEVEL_OPTIONS_H
|
|
#define _PERF_PARSE_SUBLEVEL_OPTIONS_H
|
|
|
|
struct sublevel_option {
|
|
const char *name;
|
|
int *value_ptr;
|
|
};
|
|
|
|
int perf_parse_sublevel_options(const char *str, struct sublevel_option *opts);
|
|
|
|
#endif |