Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 121229
b: refs/heads/master
c: f08340c
h: refs/heads/master
i:
  121227: 46a0ff7
v: v3
  • Loading branch information
Nikanth Karthikesan authored and Ingo Molnar committed Nov 29, 2008
1 parent c717e78 commit 97ae6cb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 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: 604094f4615180f71da799e7e5b191f5c2a42a28
refs/heads/master: f08340c5d68ab621f377c108637e2d8e95b3e5d4
4 changes: 2 additions & 2 deletions trunk/Documentation/tracepoints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ In include/trace/subsys.h :
#include <linux/tracepoint.h>

DECLARE_TRACE(subsys_eventname,
TPPTOTO(int firstarg, struct task_struct *p),
TPPROTO(int firstarg, struct task_struct *p),
TPARGS(firstarg, p));

In subsys/file.c (where the tracing statement must be added) :
Expand All @@ -66,7 +66,7 @@ Where :
- subsys is the name of your subsystem.
- eventname is the name of the event to trace.

- TPPTOTO(int firstarg, struct task_struct *p) is the prototype of the
- TPPROTO(int firstarg, struct task_struct *p) is the prototype of the
function called by this tracepoint.

- TPARGS(firstarg, p) are the parameters names, same as found in the
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/seq_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ char *mangle_path(char *s, char *p, char *esc)
}
return NULL;
}
EXPORT_SYMBOL(mangle_path);
EXPORT_SYMBOL_GPL(mangle_path);

/*
* return the absolute path of 'dentry' residing in mount 'mnt'.
Expand Down
2 changes: 0 additions & 2 deletions trunk/kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,6 @@ static void ftrace_trace_userstack(struct trace_array *tr,
struct trace_array_cpu *data,
unsigned long flags, int pc)
{
#ifdef CONFIG_STACKTRACE
struct ring_buffer_event *event;
struct userstack_entry *entry;
struct stack_trace trace;
Expand All @@ -1009,7 +1008,6 @@ static void ftrace_trace_userstack(struct trace_array *tr,

save_stack_trace_user(&trace);
ring_buffer_unlock_commit(tr->buffer, event, irq_flags);
#endif
}

void __trace_userstack(struct trace_array *tr,
Expand Down

0 comments on commit 97ae6cb

Please sign in to comment.