[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140818232956.GB6955@us.ibm.com>
Date: Mon, 18 Aug 2014 16:29:56 -0700
From: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
To: Tobias Klauser <tklauser@...tanz.ch>
Cc: jolsa@...hat.com, andi@...stfloor.org,
Michael Ellerman <mpe@...erman.id.au>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc/perf: Implement get_cpu_str()
Tobias Klauser [tklauser@...tanz.ch] wrote:
| > diff --git a/tools/perf/arch/powerpc/util/header.c b/tools/perf/arch/powerpc/util/header.c
| > index 6c1b8a7..1bb400e8 100644
| > --- a/tools/perf/arch/powerpc/util/header.c
| > +++ b/tools/perf/arch/powerpc/util/header.c
| > @@ -6,6 +6,7 @@
| >
| > #include "../../util/header.h"
| > #include "../../util/util.h"
| > +#include "../../util/jevents.h"
| >
| > #define mfspr(rn) ({unsigned long rval; \
| > asm volatile("mfspr %0," __stringify(rn) \
| > @@ -32,3 +33,14 @@ get_cpuid(char *buffer, size_t sz)
| > }
| > return -1;
| > }
| > +
| > +char *
| > +get_cpu_str(void)
| > +{
| > Changelog[v2]:
| > [Michael Ellerman]: Use PVR instead of AUXV variables
|
| This was probably not intended to be here and the patch does not apply
| due to these lines.
Sorry about that. Will resend.
Sukadev
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists