]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ftrace: avoid duplicated function when writing set_graph_function
authorLiming Wang <liming.wang@windriver.com>
Thu, 4 Dec 2008 06:24:49 +0000 (14:24 +0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Dec 2008 08:42:35 +0000 (09:42 +0100)
commitfaec2ec505d397e9426754722b6e80d519c4938f
tree574d290807a5bdf1bb41325ce6855aecf872e1b5
parent6b2539302bee8e88c99e3c7d80c16a04dbe5e2ad
ftrace: avoid duplicated function when writing set_graph_function

Impact: fix a bug in function filter setting

when writing function to set_graph_function, we should check whether it
has existed in set_graph_function to avoid duplicating.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c