lkml.org 
[lkml]   [2012]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 08/13] perf, tool: Adding PERF_ATTR_SIZE_VER2 to the header swap check
    Date
    Updating attr_file_abi_sizes array with PERF_ATTR_SIZE_VER2 version,
    so we have the swap check complete.

    Signed-off-by: Jiri Olsa <jolsa@redhat.com>
    ---
    tools/perf/util/header.c | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c
    index 3a6d204..5d470a3 100644
    --- a/tools/perf/util/header.c
    +++ b/tools/perf/util/header.c
    @@ -1820,6 +1820,7 @@ out_free:
    static const int attr_file_abi_sizes[] = {
    [0] = PERF_ATTR_SIZE_VER0,
    [1] = PERF_ATTR_SIZE_VER1,
    + [2] = PERF_ATTR_SIZE_VER2,
    0,
    };

    --
    1.7.7.6


    \
     
     \ /
      Last update: 2012-08-01 13:01    [W:0.021 / U:31.184 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site