lkml.org 
[lkml]   [2012]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] perf: add /proc/perf_events file for dump perf events info
    On 7/5/12 7:02 AM, Jovi Zhang wrote:
    > From 91fbcca37a2c9979083f4b9a6fa9c1875fc2886f Mon Sep 17 00:00:00 2001
    > From: Jovi Zhang <bookjovi@gmail.com>
    > Date: Fri, 6 Jul 2012 00:05:40 +0800
    > Subject: [PATCH] perf: add /proc/perf_events file for dump perf events info
    >
    > This new /proc/perf_events file is used for real time dump all
    > perf events info in whole system wide machine, this patch also add
    > a new field perf_entry in struct perf_event, for connect to
    > global list perf_events_list.

    Applied your patch to see if sheds light on a problem. Saw this
    compiling the kernel:

    kernel/events/proc_perf_events.c: In function ‘perf_events_proc_show’:
    kernel/events/proc_perf_events.c:175:5: warning: format ‘%llu’ expects
    argument of type ‘long long unsigned int’, but argument 3 has type ‘long
    int’ [-Wformat]

    David
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2012-09-13 23:41    [W:3.168 / U:0.376 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site