lkml.org 
[lkml]   [2012]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[tip:perf/core] perf tools: Change perf_guest default back to false
    Commit-ID:  c4a7dca92bbb9881a5d678720f1d0c2153499749
    Gitweb: http://git.kernel.org/tip/c4a7dca92bbb9881a5d678720f1d0c2153499749
    Author: Joerg Roedel <joerg.roedel@amd.com>
    AuthorDate: Fri, 10 Feb 2012 18:05:05 +0100
    Committer: Arnaldo Carvalho de Melo <acme@redhat.com>
    CommitDate: Mon, 13 Feb 2012 23:14:44 -0200

    perf tools: Change perf_guest default back to false

    Setting perf_guest to true by default makes no sense because the perf
    subcommands can not setup guest symbol information and thus not process
    and guest samples. The only exception is perf-kvm which changes the
    perf_guest value on its own. So change the default for perf_guest back
    to false.

    Cc: David Ahern <dsahern@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Jason Wang <jasowang@redhat.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Link: http://lkml.kernel.org/r/1328893505-4115-3-git-send-email-joerg.roedel@amd.com
    Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    ---
    tools/perf/util/util.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/tools/perf/util/util.c b/tools/perf/util/util.c
    index 8131410..fb25d13 100644
    --- a/tools/perf/util/util.c
    +++ b/tools/perf/util/util.c
    @@ -6,7 +6,7 @@
    * XXX We need to find a better place for these things...
    */
    bool perf_host = true;
    -bool perf_guest = true;
    +bool perf_guest = false;

    void event_attr_init(struct perf_event_attr *attr)
    {

    \
     
     \ /
      Last update: 2012-02-17 10:51    [W:0.026 / U:29.728 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site