Skip to content

Commit

Permalink
oprofile: update comment for oprofile_add_sample()
Browse files Browse the repository at this point in the history
The cpu argument is no longer part of the parameter list.

Signed-off-by: Robert Richter <robert.richter@amd.com>
  • Loading branch information
Robert Richter committed Dec 10, 2008
1 parent fd13f6c commit 5849448
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/linux/oprofile.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ int oprofile_arch_init(struct oprofile_operations * ops);
void oprofile_arch_exit(void);

/**
* Add a sample. This may be called from any context. Pass
* smp_processor_id() as cpu.
* Add a sample. This may be called from any context.
*/
void oprofile_add_sample(struct pt_regs * const regs, unsigned long event);

Expand Down

0 comments on commit 5849448

Please sign in to comment.