mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-08 10:31:43 +01:00
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 <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Steven Rostedt (VMware) <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
11 lines
231 B
C
11 lines
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 |