Commit 58494487 authored by Robert Richter's avatar Robert Richter

oprofile: update comment for oprofile_add_sample()

The cpu argument is no longer part of the parameter list.
Signed-off-by: default avatarRobert Richter <robert.richter@amd.com>
parent fd13f6c8
...@@ -86,8 +86,7 @@ int oprofile_arch_init(struct oprofile_operations * ops); ...@@ -86,8 +86,7 @@ int oprofile_arch_init(struct oprofile_operations * ops);
void oprofile_arch_exit(void); void oprofile_arch_exit(void);
/** /**
* Add a sample. This may be called from any context. Pass * Add a sample. This may be called from any context.
* smp_processor_id() as cpu.
*/ */
void oprofile_add_sample(struct pt_regs * const regs, unsigned long event); void oprofile_add_sample(struct pt_regs * const regs, unsigned long event);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment