[linux-yocto] [yocto-4.12] [standard/*/axxia/base] [PATCH] tools/perf: Include inttypes.h to avoid error in cs-etm.c

Bruce Ashfield bruce.ashfield at windriver.com
Mon Apr 30 19:10:27 PDT 2018



On 4/30/2018 5:29 AM, Daniel Dragomir wrote:
> 
> 
> On 28.04.2018 04:58, Bruce Ashfield wrote:
>>
>>
>> On 4/25/2018 10:31 PM, qwang2 wrote:
>>>
>>>
>>> On 2018年04月25日 21:38, Bruce Ashfield wrote:
>>>> On 04/25/2018 09:39 AM, Daniel Dragomir wrote:
>>>>> | util/cs-etm.c:1264:40: error: expected '}' before 'PRIx64'
>>>>> |    [CS_ETM_MAGIC] = "   Magic number  %"PRIx64"\n",
>>>>>     |                                         ^~~~~~
>>>>>
>>>>
>>>> Is this something my -stable merges, or other BSP work has
>>>> introduced ?
>>>>
>>>> I'd like to log the commit that caused the error, so I can
>>>> avoid the mistake in the future.
>>> Hi Bruce,
>>>
>>> This issue is introduced by axxiaarm's BSP patches and it only exist 
>>> at axxia/base branch.
>>> The commit which introduced it is 362f8417b1cc ("opencsd: This is a 
>>> Backport of the Following") at axxia/base.
>>
>> Thanks. But I'm looking for a v2 of the series with the commit
>> adjusted to contain this info.
>>
>> Cheers,
>>
>> Bruce
> 
> Hi Bruce!
> 
> I just sent a v2 for this patch.
> Sorry for the delay.
> 
> Can you please, let me know your opinion about this kernel-cache patch?
> https://lists.yoctoproject.org/pipermail/linux-yocto/2018-April/007069.html

It was fine. I was just pending it on v2 of the other patch. I'll
merge both shortly.

Bruce

> 
> Thank you,
> Daniel
> 
>>
>>>
>>> Thanks,
>>> Quanyang
>>>>
>>>> Bruce
>>>>
>>>>> Signed-off-by: Quanyang Wang <quanyang.wang at windriver.com>
>>>>> Signed-off-by: Daniel Dragomir <daniel.dragomir at windriver.com>
>>>>> ---
>>>>>   tools/perf/util/cs-etm.c | 1 +
>>>>>   1 file changed, 1 insertion(+)
>>>>>
>>>>> diff --git a/tools/perf/util/cs-etm.c b/tools/perf/util/cs-etm.c
>>>>> index d48b9a4..d34d7d5 100644
>>>>> --- a/tools/perf/util/cs-etm.c
>>>>> +++ b/tools/perf/util/cs-etm.c
>>>>> @@ -37,6 +37,7 @@
>>>>>   #include "debug.h"
>>>>>     #include <stdlib.h>
>>>>> +#include <inttypes.h>
>>>>>     #define KiB(x) ((x) * 1024)
>>>>>   #define MiB(x) ((x) * 1024 * 1024)
>>>>>
>>>>
>>>
> 


More information about the linux-yocto mailing list