]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dtrace: Ensure that task_struct members are initialized correctly
authorKris Van Hees <kris.van.hees@oracle.com>
Mon, 19 Aug 2013 18:07:13 +0000 (14:07 -0400)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 21 Jul 2015 14:29:12 +0000 (15:29 +0100)
commitd58358a41d1930f93f80ff42343c90a4a16c50a0
treeb6d20c643e5f726d8f71ace2525cefb0b9c55574
parent2cf31c5fd9a06aabe78af88579c283b1937729d0
dtrace: Ensure that task_struct members are initialized correctly

Due to an initialization issue with current->predcache, it was possible for the
predicate on a probe to never be evaluated because the dtrace_probe() code was
incorrectly assuming that there was a valid predicate cache result.

Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
kernel/dtrace/dtrace_os.c