trace: make CTF metadata prettier
authorDavid Marchand <david.marchand@redhat.com>
Wed, 28 Oct 2020 21:02:49 +0000 (22:02 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 29 Oct 2020 21:49:22 +0000 (22:49 +0100)
commitf4d2ad3aa9898d3cf1d3039ea18cf63c5ef5753e
tree1088fd1b327192f723744eef315e47ff9890ba09
parentfd43b50113a84608a690acdeeb7fdd8c38be48b8
trace: make CTF metadata prettier

This is simply a cosmetic change.

Before:
event {
    id = 17;
    name = "lib.eal.alarm.set";
    fields := struct {
        uint64_t us;uintptr_t cb_fn;uintptr_t cb_arg;int32_t rc;
    };
};

After:
event {
    id = 17;
    name = "lib.eal.alarm.set";
    fields := struct {
        uint64_t us;
        uintptr_t cb_fn;
        uintptr_t cb_arg;
        int32_t rc;
    };
};

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Sunil Kumar Kori <skori@mavell.com>
lib/librte_eal/common/eal_common_trace.c
lib/librte_eal/common/eal_common_trace_ctf.c