perf annotate: Remove arch::cpuid_parse callback
There's no need for extra cpuid_parse arch callback, it can be handled directly in init callback. Adding the init function to x86 to cover the cpuid initialization. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20171011150158.11895-2-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:

committed by
Arnaldo Carvalho de Melo

parent
98ad761bd3
commit
696e2457e9
@@ -1,3 +1,4 @@
|
||||
#include <linux/compiler.h>
|
||||
#include <sys/types.h>
|
||||
#include <regex.h>
|
||||
|
||||
@@ -25,7 +26,7 @@ static struct ins_ops *arm64__associate_instruction_ops(struct arch *arch, const
|
||||
return ops;
|
||||
}
|
||||
|
||||
static int arm64__annotate_init(struct arch *arch)
|
||||
static int arm64__annotate_init(struct arch *arch, char *cpuid __maybe_unused)
|
||||
{
|
||||
struct arm64_annotate *arm;
|
||||
int err;
|
||||
|
Reference in New Issue
Block a user