]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'trace-v4.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 May 2017 03:36:38 +0000 (20:36 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 May 2017 03:36:38 +0000 (20:36 -0700)
commitfca107440affd9d8517bfe79747a5d1fbb3c3399
treee162a6aa9c203740629e3756b38dceb11968adae
parentbf07c62345e6e6b40708cb46b4779c007ee1f921
parent8d8e7c84ecb5e62f0f29490d1b9296c9a6ede27f
Merge tag 'trace-v4.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace

Pull more tracing updates from Steven Rostedt:
 "These are three simple changes.

  The first one is just a switch from using strcpy() to strlcpy().
  Someone thought that it may cause an overflow bug, but since it only
  copies comms into a pre-allocated array of TASK_COMM_LEN, and no comm
  should ever be bigger than that, nor not end with a nul character,
  this change is more of a safety precaution than fixing anything that
  is actually broken.

  The other two changes are simply cleaning and optimizing some code"

* tag 'trace-v4.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
  ftrace: Simplify ftrace_match_record() even more
  ftrace: Remove an unneeded condition
  tracing: Use strlcpy() instead of strcpy() in __trace_find_cmdline()