diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2021-02-18 12:57:56 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-02-18 22:14:33 +0300 |
commit | 3035cb6cbd2d62a764fa451ed9534eafdd0b446c (patch) | |
tree | 4b7fc4f6d8eee83223cd9214909d6bab7d422459 /ipc | |
parent | fcda5ff711d9ddb7a92fff38b2cc153be8123c0e (diff) | |
download | linux-3035cb6cbd2d62a764fa451ed9534eafdd0b446c.tar.xz |
perf machine: Factor out machine__idle_thread()
Factor out machine__idle_thread() so it can be re-used for guest machines.
A thread is needed to find executable code, even for the guest kernel. To
avoid possible future pid number conflicts, the idle thread can be used.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Andi Kleen <ak@linux.intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20210218095801.19576-7-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions