diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2018-05-16 19:09:08 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-05-16 19:11:09 +0000 |
| commit | d01bd1ac920e98e2a64f6bb5adf907180e0aaac7 (patch) | |
| tree | 468945e79a156f11354c304b16cc0d0199f997ea /tools/lib/api/fs/tracing_path.c | |
| parent | Merge tag 'perf-core-for-mingo-4.18-20180516' of git://git.kernel.org/pub/scm... (diff) | |
| download | kernel-d01bd1ac920e98e2a64f6bb5adf907180e0aaac7.tar.gz kernel-d01bd1ac920e98e2a64f6bb5adf907180e0aaac7.zip | |
perf config: Call perf_config__init() lazily
We check what perf_config__init() does at each perf_config() call,
namely if the static perf_config instance was created, so instead of
bailing out in that case, try to allocate it, bailing if it fails.
Now to get the perf_config() call out of the start of perf's main()
function, doing it also lazily.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Taeung Song <[email protected]>
Cc: Wang Nan <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions
