lkml.org 
[lkml]   [2009]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 12/15] pref_counter: kerneltop: update event_types
    go along with the new perf_event_type

    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    ---
    Documentation/perf_counter/kerneltop.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    Index: linux-2.6/Documentation/perf_counter/kerneltop.c
    ===================================================================
    --- linux-2.6.orig/Documentation/perf_counter/kerneltop.c
    +++ linux-2.6/Documentation/perf_counter/kerneltop.c
    @@ -1263,8 +1263,8 @@ static void mmap_read(struct mmap_data *
    old += size;

    switch (event->header.type) {
    - case PERF_EVENT_IP:
    - case PERF_EVENT_IP | __PERF_EVENT_TID:
    + case PERF_EVENT_OVERFLOW | __PERF_EVENT_IP:
    + case PERF_EVENT_OVERFLOW | __PERF_EVENT_IP | __PERF_EVENT_TID:
    process_event(event->ip.ip, md->counter);
    break;

    --



    \
     
     \ /
      Last update: 2009-03-30 19:13    [W:0.043 / U:0.500 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site