15 May, 2008

1 commit

  • Alignment was previously requested because cpu_buffer was an [NR_CPUS]
    array, to avoid cache line sharing between CPUS.

    After commit 608dfddd845da5ab6accef70154c8910529699f7 (oprofile: change
    cpu_buffer from array to per_cpu variable ), we dont need to force an
    alignement anymore since cpu_buffer sits in per_cpu zone.

    Signed-off-by: Eric Dumazet
    Cc: Mike Travis
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric Dumazet
     

28 Apr, 2008

1 commit


15 Nov, 2007

1 commit

  • Instruction pointer returned by profile_pc() can be a random value. This
    break the assumption than we can safely set struct op_sample.eip field to a
    magic value to signal to the per-cpu buffer reader side special event like
    task switch ending up in a segfault in get_task_mm() when profile_pc()
    return ~0UL. Fixed by sanitizing the sampled eip and reject/log invalid
    eip.

    Problem reported by Sami Farin, patch tested by him.

    Signed-off-by: Philippe Elie
    Tested-by: Sami Farin
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Philippe Elie
     

22 Nov, 2006

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds