From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx> There were some mistakes in the man page for the get_affinity() API functions. Fix them. Link: https://lore.kernel.org/all/CAPpZLN4n=L-ZHCXM+LDRiQu0XwR4iCnGeCKJOuOWenkz2EhESA@xxxxxxxxxxxxxx/ Reported-by: Tzvetomir Stoyanov <tz.stoyanov@xxxxxxxxx> Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx> --- Documentation/libtracefs-instances-affinity.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/libtracefs-instances-affinity.txt b/Documentation/libtracefs-instances-affinity.txt index 0f3093d62035..107334dd1298 100644 --- a/Documentation/libtracefs-instances-affinity.txt +++ b/Documentation/libtracefs-instances-affinity.txt @@ -24,7 +24,7 @@ char pass:[*]*tracefs_instance_get_affinity_raw*(struct tracefs_instance pass:[* DESCRIPTION ----------- -These functions set or retrieves the CPU affinity that limits what CPUs will have tracing enabled +These functions set or retrieve the CPU affinity that limits what CPUs will have tracing enabled for a given instance defined by the _instance_ parameter. If _instance_ is NULL, then the top level instance is affected. @@ -71,7 +71,7 @@ RETURN VALUE ------------ All the set functions return 0 on success and -1 on error. -The functinos *tracefs_instance_get_affinity()* and *tracefs_instance_get_affinity_raw()* +The functions *tracefs_instance_get_affinity()* and *tracefs_instance_get_affinity_raw()* returns an allocated string that must be freed with *free*(3), or NULL on error. The function *tracefs_instance_get_affinity_set()* returns the number of CPUs that -- 2.33.0