lkml.org 
[lkml]   [2019]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 12/25] perf script: Add missing counts.h
    Date
    From: Arnaldo Carvalho de Melo <acme@redhat.com>

    It is getting this via evsel.h, that don't strictly need counts.h, just
    forward declarations for some structs, so add it here before we remove
    it from there.

    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Link: https://lkml.kernel.org/n/tip-q4shpvlxyjqz7val1hyrdak9@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    ---
    tools/perf/builtin-script.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c
    index 1764efd16cd4..e957b870869b 100644
    --- a/tools/perf/builtin-script.c
    +++ b/tools/perf/builtin-script.c
    @@ -3,6 +3,7 @@

    #include "perf.h"
    #include "util/cache.h"
    +#include "util/counts.h"
    #include "util/debug.h"
    #include <subcmd/exec-cmd.h>
    #include "util/header.h"
    --
    2.21.0
    \
     
     \ /
      Last update: 2019-08-22 23:26    [W:4.256 / U:0.348 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site