ubject: Re: [vpp-dev] Elog binary file format
Hi Florin,
Thank you very much! It works now.
1) Why you use such big memory size value (256 << 20) in
clib_mem_init_thread_safe ?
Maybe we must to calculate the required size?
sizeof(elog_main_t) + elog_file_size ?
2) I've calculate start ti
Hi Florin,
Thank you very much! It works now.
1) Why you use such big memory size value (256 << 20) in
clib_mem_init_thread_safe ?
Maybe we must to calculate the required size?
sizeof(elog_main_t) + elog_file_size ?
2) I've calculate start time of a log from init_time:
elog_main_t *em = _main;
As for the crash, try right at the start of your main:
clib_mem_init_thread_safe (0, 256 << 20)
Florin
> On Oct 9, 2018, at 4:55 AM, Aleksander Djuric
> wrote:
>
> Correction: I've found all of unserialize_* functions. Trying to understand..
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive
Correction: I've found all of unserialize_* functions. Trying to understand..
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10777): https://lists.fd.io/g/vpp-dev/message/10777
Mute This Topic: https://lists.fd.io/mt/26875131/21656
Group Owner:
Thanks Florin! Thanks Damjan!
I know about these tools, but both of them uses elog_read_file function, which
is described in elog.h
This function consist of 3 other functions: unserialize_open_clib_file,
unserialize and unserialize_close.
If I right, the elog file parsing should be in
Also, take a look at c2cpel and cpeldump. The first allows you to convert log
files to cpel files while the second converts cpel to text.
Hope this helps,
Florin
> On Oct 8, 2018, at 9:22 AM, Damjan Marion via Lists.Fd.Io
> wrote:
>
>
> --
> Damjan
>
>> On 8 Oct 2018, at 07:37,
--
Damjan
> On 8 Oct 2018, at 07:37, Aleksander Djuric
> wrote:
>
> Hi Everyone!
>
> I am trying to parse binary ELOG file, but have no success.
> Is there someone who know something about ELOG file format?
> At now I'm trying to get the unix timestamp of the each event.
>
> I had found
Hi Everyone!
I am trying to parse binary ELOG file, but have no success.
Is there someone who know something about ELOG file format?
At now I'm trying to get the unix timestamp of the each event.
I had found small python script here:
https://github.com/theleos88/vpp-bench/wiki/ELOG
...but it's