You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge remote-tracking branch 'tip/perf/urgent' into perf/core
Merge reason: We are going to queue up a dependent patch:
"perf tools: Move parse event automated tests to separated object"
That depends on:
commit e7c72d8
perf tools: Add 'G' and 'H' modifiers to event parsing
Conflicts:
tools/perf/builtin-stat.c
Conflicted with the recent 'perf_target' patches when checking the
result of perf_evsel open routines to see if a retry is needed to cope
with older kernels where the exclude guest/host perf_event_attr bits
were not used.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
+13
-12
@@ -225,13 +225,9 @@ static int __init loglevel(char *str)
|
||||
|
||||
early_param("loglevel", loglevel);
|
||||
|
||||
/*
|
||||
* Unknown boot options get handed to init, unless they look like
|
||||
* unused parameters (modprobe will find them in /proc/cmdline).
|
||||
*/
|
||||
static int __init unknown_bootoption(char *param, char *val)
|
||||
/* Change NUL term back to "=", to make "param" the whole string. */
|
||||
static int __init repair_env_string(char *param, char *val)
|
||||
{
|
||||
/* Change NUL term back to "=", to make "param" the whole string. */
|
||||
if (val) {
|
||||
/* param=val or param="val"? */
|
||||
if (val == param+strlen(param)+1)
|
||||
@@ -243,6 +239,16 @@ static int __init unknown_bootoption(char *param, char *val)
|
||||
} else
|
||||
BUG();
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Unknown boot options get handed to init, unless they look like
|
||||
* unused parameters (modprobe will find them in /proc/cmdline).
|
||||
*/
|
||||
static int __init unknown_bootoption(char *param, char *val)
|
||||
{
|
||||
repair_env_string(param, val);
|
||||
|
||||
/* Handle obsolete-style parameters */
|
||||
if (obsolete_checksetup(param))
|
||||
@@ -732,11 +738,6 @@ static char *initcall_level_names[] __initdata = {
|
||||
"late parameters",
|
||||
};
|
||||
|
||||
static int __init ignore_unknown_bootoption(char *param, char *val)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void __init do_initcall_level(int level)
|
||||
{
|
||||
extern const struct kernel_param __start___param[], __stop___param[];
|
||||
@@ -747,7 +748,7 @@ static void __init do_initcall_level(int level)
|
||||
static_command_line, __start___param,
|
||||
__stop___param - __start___param,
|
||||
level, level,
|
||||
ignore_unknown_bootoption);
|
||||
repair_env_string);
|
||||
|
||||
for (fn = initcall_levels[level]; fn < initcall_levels[level+1]; fn++)
|
||||
do_one_initcall(*fn);
|
||||
|
||||
Reference in New Issue
Block a user