diff options
author | 2017-02-02 10:15:22 -0500 | |
---|---|---|
committer | 2017-02-03 10:58:48 -0500 | |
commit | 555fc7813eeada1738eca42aa9f9ebafd7dc23e6 (patch) | |
tree | f32cd06960de34b6d90f4bc018d1ee55ce735e39 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ftrace: Create a slight optimization on searching the ftrace_hash (diff) | |
download | linux-dev-555fc7813eeada1738eca42aa9f9ebafd7dc23e6.tar.xz linux-dev-555fc7813eeada1738eca42aa9f9ebafd7dc23e6.zip |
ftrace: Replace (void *)1 with a meaningful macro name FTRACE_GRAPH_EMPTY
When the set_graph_function or set_graph_notrace contains no records, a
banner is displayed of either "#### all functions enabled ####" or
"#### all functions disabled ####" respectively. To tell the seq operations
to do this, (void *)1 is passed as a return value. Instead of using a
hardcoded meaningless variable, define it as a macro.
Acked-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions