aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/ftrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/ftrace.c')
-rw-r--r--kernel/trace/ftrace.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c
index 7cb1f45a1de1..fa7ece649fe1 100644
--- a/kernel/trace/ftrace.c
+++ b/kernel/trace/ftrace.c
@@ -1510,6 +1510,8 @@ static void *t_start(struct seq_file *m, loff_t *pos)
1510 if (*pos > 0) 1510 if (*pos > 0)
1511 return t_hash_start(m, pos); 1511 return t_hash_start(m, pos);
1512 iter->flags |= FTRACE_ITER_PRINTALL; 1512 iter->flags |= FTRACE_ITER_PRINTALL;
1513 /* reset in case of seek/pread */
1514 iter->flags &= ~FTRACE_ITER_HASH;
1513 return iter; 1515 return iter;
1514 } 1516 }
1515 1517
@@ -2416,7 +2418,7 @@ static const struct file_operations ftrace_filter_fops = {
2416 .open = ftrace_filter_open, 2418 .open = ftrace_filter_open,
2417 .read = seq_read, 2419 .read = seq_read,
2418 .write = ftrace_filter_write, 2420 .write = ftrace_filter_write,
2419 .llseek = ftrace_regex_lseek, 2421 .llseek = no_llseek,
2420 .release = ftrace_filter_release, 2422 .release = ftrace_filter_release,
2421}; 2423};
2422 2424