• Yang Jihong's avatar
    perf parse: Add missing newline to pr_debug message in evsel__compute_group_pmu_name() · bc06026d
    Yang Jihong authored
    The newline is missing for pr_debug message in
    evsel__compute_group_pmu_name(), fix it.
    
    Before:
    
      # perf --debug verbose=2 record -e cpu-clock true
      <SNIP>
      No PMU found for 'cycles:u'No PMU found for 'instructions:u'------------------------------------------------------------
      perf_event_attr:
        type                             1
        size                             136
        { sample_period, sample_freq }   4000
        sample_type                      IP|TID|TIME|PERIOD
        read_format                      ID|LOST
        disabled                         1
        inherit                          1
        mmap                             1
        comm                             1
        freq                             1
        enable_on_exec                   1
        task                             1
        sample_id_all                    1
        exclude_guest                    1
        mmap2                            1
        comm_exec                        1
        ksymbol                          1
        bpf_event                        1
      ------------------------------------------------------------
      <SNIP>
    
    After:
    
      # perf --debug verbose=2 record -e cpu-clock true
      <SNIP>
      No PMU found for 'cycles:u'
      No PMU found for 'instructions:u'
      ------------------------------------------------------------
      perf_event_attr:
        type                             1
        size                             136
        { sample_period, sample_freq }   4000
        sample_type                      IP|TID|TIME|PERIOD
        read_format                      ID|LOST
        disabled                         1
        inherit                          1
        mmap                             1
        comm                             1
        freq                             1
        enable_on_exec                   1
        task                             1
        sample_id_all                    1
        exclude_guest                    1
        mmap2                            1
        comm_exec                        1
        ksymbol                          1
        bpf_event                        1
      ------------------------------------------------------------
      <SNIP>
    Signed-off-by: default avatarYang Jihong <yangjihong1@huawei.com>
    Acked-by: default avatarNamhyung Kim <namhyung@kernel.org>
    Cc: mark.rutland@arm.com
    Cc: irogers@google.com
    Cc: peterz@infradead.org
    Cc: adrian.hunter@intel.com
    Cc: acme@kernel.org
    Cc: jolsa@kernel.org
    Cc: alexander.shishkin@linux.intel.com
    Cc: kan.liang@linux.intel.com
    Cc: mingo@redhat.com
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-perf-users@vger.kernel.org
    Link: https://lore.kernel.org/r/20230616024515.80814-1-yangjihong1@huawei.comSigned-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
    bc06026d
parse-events.c 70.7 KB