1. Jul 19, 2014
  2. Jul 17, 2014
  3. Jul 16, 2014
  4. Jul 09, 2014
  5. Jul 02, 2014
  6. Jul 01, 2014
  7. Jun 30, 2014
    • Steven Rostedt (Red Hat)'s avatar
      ftrace: Add ftrace_rec_counter() macro to simplify the code · 0376bde1
      Steven Rostedt (Red Hat) authored
      
      
      The ftrace dynamic record has a flags element that also has a counter.
      Instead of hard coding "rec->flags & ~FTRACE_FL_MASK" all over the
      place. Use a macro instead.
      
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      0376bde1
    • Steven Rostedt (Red Hat)'s avatar
      ftrace: Use macros for numbers in ftrace rec shift bits · cf2cb0b2
      Steven Rostedt (Red Hat) authored
      
      
      As new flags will be added to the ftrace dynamic record, and since
      the flags field is also a counter, converting the numbers used to
      do the shifting and masking into a set of macros where we only need
      to deal with the max bit count of the counter and the number of bits
      for the flags will prevent mistakes in the future.
      
      Dealing with only two numbers is much easier than updating all the
      macros that deal with shifting and masking.
      
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      cf2cb0b2
    • Steven Rostedt (Red Hat)'s avatar
      ftrace: Allow no regs if no more callbacks require it · 4fbb48cb
      Steven Rostedt (Red Hat) authored
      
      
      When registering a function callback for the function tracer, the ops
      can specify if it wants to save full regs (like an interrupt would)
      for each function that it traces, or if it does not care about regs
      and just wants to have the fastest return possible.
      
      Once a ops has registered a function, if other ops register that
      function they all will receive the regs too. That's because it does
      the work once, it does it for everyone.
      
      Now if the ops wanting regs unregisters the function so that there's
      only ops left that do not care about regs, those ops will still
      continue getting regs and going through the work for it on that
      function. This is because the disabling of the rec counter only
      sees the ops registered, and does not see the ops that are still
      attached, and does not know if the current ops that are still attached
      want regs or not. To play it safe, it just keeps regs being processed
      until no function is registered anymore.
      
      Instead of doing that, check the ops that are still registered for that
      function and if none want regs for it anymore, then disable the
      processing of regs.
      
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      4fbb48cb
    • Linus Torvalds's avatar
      Linux 3.16-rc3 · 4c834452
      Linus Torvalds authored
      4c834452
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm · ef2e0391
      Linus Torvalds authored
      Pull ARM fixes from Russell King:
       "Another round of ARM fixes.  The largest change here is the L2 changes
        to work around problems for the Armada 37x/380 devices, where most of
        the size comes down to comments rather than code.
      
        The other significant fix here is for the ptrace code, to ensure that
        rewritten syscalls work as intended.  This was pointed out by Kees
        Cook, but Will Deacon reworked the patch to be more elegant.
      
        The remainder are fairly trivial changes"
      
      * 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:
        ARM: 8087/1: ptrace: reload syscall number after secure_computing() check
        ARM: 8086/1: Set memblock limit for nommu
        ARM: 8085/1: sa1100: collie: add top boot mtd partition
        ARM: 8084/1: sa1100: collie: revert back to cfi_probe
        ARM: 8080/1: mcpm.h: remove unused variable declaration
        ARM: 8076/1: mm: add support for HW coherent systems in PL310 cache
      ef2e0391