linux-stable/kernel/trace
Jiri Olsa 1106b6997d tracing: Fix set_ftrace_filter probe function display
If one or more function probes (like traceon) are enabled,
and there's no other function filter, the first probe
func is skipped (which one depends on the position in the hash).

$ echo sys_open:traceon sys_close:traceon > ./set_ftrace_filter
$ cat set_ftrace_filter
#### all functions enabled ####
sys_close:traceon:unlimited
$

The reason was, that in the case of no other function filter,
the func_pos was not properly updated before calling t_hash_start.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
LKML-Reference: <1297874134-7008-1-git-send-email-jolsa@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2011-03-22 12:52:03 -04:00
..
blktrace.c blktrace: Remove blk_fill_rwbs_rq. 2011-03-03 10:53:20 -05:00
ftrace.c tracing: Fix set_ftrace_filter probe function display 2011-03-22 12:52:03 -04:00
Kconfig trace, documentation: Fix branch profiling location in debugfs 2011-03-17 09:10:45 +01:00
Makefile tracing: Fix TRACE_EVENT power tracepoint creation 2011-01-07 23:26:29 -05:00
power-traces.c perf: Clean up power events by introducing new, more generic ones 2011-01-04 08:16:54 +01:00
ring_buffer.c tracing: Explain about unstable clock on resume with ring buffer warning 2011-03-10 10:34:47 -05:00
ring_buffer_benchmark.c
trace.c tracing: Fix irqoff selftest expanding max buffer 2011-03-10 10:34:58 -05:00
trace.h tracing: Align 4 byte ints together in struct tracer 2011-03-10 10:34:54 -05:00
trace_branch.c
trace_clock.c
trace_entries.h tracing: Fix event alignment: ftrace:context_switch and ftrace:wakeup 2011-03-10 10:34:16 -05:00
trace_event_perf.c tracing: New flag to allow non privileged users to use a trace event 2010-11-18 14:37:40 +01:00
trace_events.c tracing: Export trace_set_clr_event() 2011-03-10 10:34:51 -05:00
trace_events_filter.c tracing/filter: Remove synchronize_sched() from __alloc_preds() 2011-02-07 20:56:20 -05:00
trace_export.c tracing: Replace trace_event struct array with pointer array 2011-02-02 21:37:13 -05:00
trace_functions.c
trace_functions_graph.c tracing: Remove parent recording in latency tracer graph options 2010-10-18 10:53:38 -04:00
trace_irqsoff.c lockdep: Move early boot local IRQ enable/disable status to init/main.c 2011-01-20 13:32:33 +01:00
trace_kdb.c kdb,ftdump: Remove reference to internal kdb include 2010-10-22 15:34:11 -05:00
trace_kprobe.c tracing/kprobe: Fix NULL pointer deref check 2011-02-14 12:09:53 +01:00
trace_mmiotrace.c
trace_nop.c
trace_output.c tracing: Adjust conditional expression latency formatting. 2011-03-10 10:34:35 -05:00
trace_output.h
trace_printk.c
trace_sched_switch.c tracing: Remove obsolete sched_switch tracer 2011-02-08 17:14:56 -05:00
trace_sched_wakeup.c tracing: Fix compile issue for trace_sched_wakeup.c 2010-10-19 10:56:19 -04:00
trace_selftest.c sched: Constify function scope static struct sched_param usage 2011-01-07 15:55:45 +01:00
trace_selftest_dynamic.c
trace_stack.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
trace_stat.c
trace_stat.h
trace_syscalls.c tracing/syscalls: Early terminate search for sys_ni_syscall 2011-02-07 21:30:14 -05:00
trace_workqueue.c jump label: Initialize workqueue tracepoints *before* they are registered 2010-09-22 16:30:03 -04:00