diff options
| author | Alexander Yarygin <[email protected]> | 2014-07-03 13:59:51 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-07-07 19:55:24 +0000 |
| commit | 65c647a65c155e69bd5765d5e454982566ac1c62 (patch) | |
| tree | 0d4a0ca79c4c0965e10e767cbc01f7e9f0a0736e /tools/perf/scripts/python/sched-migration.py | |
| parent | perf kvm: Simplify exit reasons tables definitions (diff) | |
| download | kernel-65c647a65c155e69bd5765d5e454982566ac1c62.tar.gz kernel-65c647a65c155e69bd5765d5e454982566ac1c62.zip | |
perf kvm: Refactoring of cpu_isa_config()
cpu_isa_config() does two different things: searching for cpuid and
initializing perf_kvm_stat struct with proper parameters.
Let's move initialization to a separate function cpu_isa_init(), which
is used to initialize all possible ISAs and can be used to init
arch-depended things.
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: Alexander Yarygin <[email protected]>
Acked-by: Christian Borntraeger <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Cc: Cornelia Huck <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
