Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140726
b: refs/heads/master
c: 4fd2735
h: refs/heads/master
v: v3
  • Loading branch information
Hannes Eder authored and Ingo Molnar committed Feb 11, 2009
1 parent e60511c commit a359c44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: 4040068dce64f75c9d414f41fc2fb314a44bad65
refs/heads/master: 4fd2735881bf4d8bf5e30979f31fc2f1b1d505fa
10 changes: 6 additions & 4 deletions trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static int dummy_set_flag(u32 old_flags, u32 bit, int set)
* of the tracer is successful. But that is the only place that sets
* this back to zero.
*/
int tracing_disabled = 1;
static int tracing_disabled = 1;

static DEFINE_PER_CPU(local_t, ftrace_cpu_disabled);

Expand Down Expand Up @@ -626,7 +626,7 @@ static int cmdline_idx;
static DEFINE_SPINLOCK(trace_cmdline_lock);

/* temporary disable recording */
atomic_t trace_record_cmdline_disabled __read_mostly;
static atomic_t trace_record_cmdline_disabled __read_mostly;

static void trace_init_cmdlines(void)
{
Expand Down Expand Up @@ -983,10 +983,12 @@ static void ftrace_trace_userstack(struct trace_array *tr,
#endif
}

void __trace_userstack(struct trace_array *tr, unsigned long flags)
#ifdef UNUSED
static void __trace_userstack(struct trace_array *tr, unsigned long flags)
{
ftrace_trace_userstack(tr, flags, preempt_count());
}
#endif /* UNUSED */

static void
ftrace_trace_special(void *__tr,
Expand Down Expand Up @@ -1720,7 +1722,7 @@ int tracing_open_generic(struct inode *inode, struct file *filp)
return 0;
}

int tracing_release(struct inode *inode, struct file *file)
static int tracing_release(struct inode *inode, struct file *file)
{
struct seq_file *m = (struct seq_file *)file->private_data;
struct trace_iterator *iter = m->private;
Expand Down

0 comments on commit a359c44

Please sign in to comment.