Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140972
b: refs/heads/master
c: 6adaad1
h: refs/heads/master
v: v3
  • Loading branch information
Steven Rostedt committed Mar 17, 2009
1 parent 052b760 commit 9c57caa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4ca530852346be239b7c19e7bec5d2b78855bebe
refs/heads/master: 6adaad14d7d4d3ef31b4e2dc992b18b5da7c4eb3
2 changes: 1 addition & 1 deletion trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ void trace_find_cmdline(int pid, char comm[])

void tracing_record_cmdline(struct task_struct *tsk)
{
if (atomic_read(&trace_record_cmdline_disabled))
if (atomic_read(&trace_record_cmdline_disabled) || !tracing_is_on())
return;

trace_save_cmdline(tsk);
Expand Down

0 comments on commit 9c57caa

Please sign in to comment.