Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140759
b: refs/heads/master
c: 73d3fd9
h: refs/heads/master
i:
  140757: 3ddfc15
  140755: 7a1b85e
  140751: 07d53ec
v: v3
  • Loading branch information
Ingo Molnar committed Feb 17, 2009
1 parent ddbf2d7 commit 6968c5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 97d0bb8dcd8c2812e1927cdb51d7b1f9c98352b5
refs/heads/master: 73d3fd96e77745742f3750b7b19ee42204adc210
8 changes: 5 additions & 3 deletions trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,14 +243,16 @@ static void ftrace_update_pid_func(void)
mutex_unlock(&ftrace_lock);
}

/* set when tracing only a pid */
struct pid *ftrace_pid_trace;
static struct pid * const ftrace_swapper_pid = &init_struct_pid;

#ifdef CONFIG_DYNAMIC_FTRACE

#ifndef CONFIG_FTRACE_MCOUNT_RECORD
# error Dynamic ftrace depends on MCOUNT_RECORD
#endif

/* set when tracing only a pid */
struct pid *ftrace_pid_trace;
static struct pid * const ftrace_swapper_pid = &init_struct_pid;
static struct hlist_head ftrace_func_hash[FTRACE_FUNC_HASHSIZE] __read_mostly;

struct ftrace_func_hook {
Expand Down

0 comments on commit 6968c5e

Please sign in to comment.