lkml.org 
[lkml]   [2020]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/3] perf stat: Add --metrics-file option
    > > Also there are some asserts that can be triggered by expressions. I think
    > > you should fix those too and convert them to errors.
    >
    > do you have some details on this? examples of those failures?

    At a minimum

    /* Caller must make sure id is allocated */
    void expr__add_id(struct parse_ctx *ctx, const char *name, double val)
    {
    int idx;
    assert(ctx->num_ids < MAX_PARSE_ID);


    -Andi

    \
     
     \ /
      Last update: 2020-04-21 22:07    [W:4.144 / U:1.552 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site