mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
Introduce basic 'perf annotate' support for ARC to be able to use anotation via stdio interface. Signed-off-by: Eugeniy Paltsev <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Alexey Brodkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: [email protected] Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Vineet Gupta <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
10 lines
219 B
C
10 lines
219 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <linux/compiler.h>
|
|
|
|
static int arc__annotate_init(struct arch *arch, char *cpuid __maybe_unused)
|
|
{
|
|
arch->initialized = true;
|
|
arch->objdump.comment_char = ';';
|
|
return 0;
|
|
}
|