[lkml]   [2010]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 1/4] perf hist: Fix hists__browse no-newt case
    From: Frederic Weisbecker <>

    Fix mistake in a parameter type of the no-newt hists__browse()

    builtin-report.c: In function ‘__cmd_report’:
    builtin-report.c:314: erreur: incompatible type for argument 1 of ‘hists__browse’

    Signed-off-by: Frederic Weisbecker <>
    Cc: Ingo Molnar <>
    Cc: Peter Zijlstra <>
    Cc: Arnaldo Carvalho de Melo <>
    Cc: Paul Mackerras <>
    LKML-Reference: <>
    Signed-off-by: Arnaldo Carvalho de Melo <>
    tools/perf/util/hist.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h
    index ed9c067..0b4c8df 100644
    --- a/tools/perf/util/hist.h
    +++ b/tools/perf/util/hist.h
    @@ -78,7 +78,7 @@ void hists__filter_by_dso(struct hists *self, const struct dso *dso);
    void hists__filter_by_thread(struct hists *self, const struct thread *thread);

    #ifdef NO_NEWT_SUPPORT
    -static inline int hists__browse(struct hists self __used,
    +static inline int hists__browse(struct hists *self __used,
    const char *helpline __used,
    const char *input_name __used)
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2010-05-13 22:23    [W:0.043 / U:15.580 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site