1. 10 5月, 2019 1 次提交
  2. 09 5月, 2019 13 次提交
  3. 03 5月, 2019 3 次提交
  4. 30 4月, 2019 1 次提交
  5. 22 4月, 2019 1 次提交
    • S
      function_graph: Have selftest also emulate tr->reset() as it did with tr->init() · 52fde6e7
      Steven Rostedt (VMware) 提交于
      The function_graph boot up self test emulates the tr->init() function in
      order to add a wrapper around the function graph tracer entry code to test
      for lock ups and such. But it does not emulate the tr->reset(), and just
      calls the function_graph tracer tr->reset() function which will use its own
      fgraph_ops to unregister function tracing with. As the fgraph_ops is
      becoming more meaningful with the register_ftrace_graph() and
      unregister_ftrace_graph() functions, the two need to be the same. The
      emulated tr->init() uses its own fgraph_ops descriptor, which means the
      unregister_ftrace_graph() must use the same ftrace_ops, which the selftest
      currently does not do. By emulating the tr->reset() as the selftest does
      with the tr->init() it will be able to pass the same fgraph_ops descriptor
      to the unregister_ftrace_graph() as it did with the register_ftrace_graph().
      Signed-off-by: NSteven Rostedt (VMware) <rostedt@goodmis.org>
      52fde6e7
  6. 11 4月, 2019 1 次提交
    • S
      ftrace: Do not process STUB functions in ftrace_ops_list_func() · 2fa717a0
      Steven Rostedt (VMware) 提交于
      The function_graph tracer has a stub function and its ops flag has the
      FTRACE_OPS_FL_STUB set. As the function graph does not use the
      ftrace_ops->func pointer but instead is called by a separate part of the
      ftrace trampoline. The function_graph tracer still requires to pass in a
      ftrace_ops that may also hold the hash of the functions to call. But there's
      no reason to test that hash in the function tracing portion. Instead of
      testing to see if we should call the stub function, just test if the ops has
      FTRACE_OPS_FL_STUB set, and just skip it.
      Signed-off-by: NSteven Rostedt (VMware) <rostedt@goodmis.org>
      2fa717a0
  7. 10 4月, 2019 1 次提交
  8. 08 4月, 2019 12 次提交
  9. 03 4月, 2019 7 次提交