aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/oprofile.h
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2008-11-26 06:02:53 -0500
committerRobert Richter <robert.richter@amd.com>2008-12-10 08:20:03 -0500
commit58494487581cb143a0d763e3056a894d5009d60a (patch)
treec6467bdfd907d8674d51a377b4d05e9e1e7a7a2d /include/linux/oprofile.h
parentfd13f6c85144bb2026c534a35be1d7cb7628a64a (diff)
oprofile: update comment for oprofile_add_sample()
The cpu argument is no longer part of the parameter list. Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'include/linux/oprofile.h')
-rw-r--r--include/linux/oprofile.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/oprofile.h b/include/linux/oprofile.h
index 5231861f357d..1ce9fe572e51 100644
--- a/include/linux/oprofile.h
+++ b/include/linux/oprofile.h
@@ -86,8 +86,7 @@ int oprofile_arch_init(struct oprofile_operations * ops);
86void oprofile_arch_exit(void); 86void oprofile_arch_exit(void);
87 87
88/** 88/**
89 * Add a sample. This may be called from any context. Pass 89 * Add a sample. This may be called from any context.
90 * smp_processor_id() as cpu.
91 */ 90 */
92void oprofile_add_sample(struct pt_regs * const regs, unsigned long event); 91void oprofile_add_sample(struct pt_regs * const regs, unsigned long event);
93 92