lkml.org 
[lkml]   [2022]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH v5 5/6] perf evlist: Add to user_requested_cpus documentation
From
Document a key use-case in propagation.

Signed-off-by: Ian Rogers <irogers@google.com>
---
tools/lib/perf/include/internal/evlist.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/lib/perf/include/internal/evlist.h b/tools/lib/perf/include/internal/evlist.h
index e3e64f37db7b..74541bd87aa9 100644
--- a/tools/lib/perf/include/internal/evlist.h
+++ b/tools/lib/perf/include/internal/evlist.h
@@ -21,7 +21,8 @@ struct perf_evlist {
bool has_user_cpus;
/**
* The cpus passed from the command line or all online CPUs by
- * default.
+ * default. For evsels with no or dummy cpu maps, this cpu map replaces
+ * their cpus during propagation.
*/
struct perf_cpu_map *user_requested_cpus;
/** The union of all evsel cpu maps. */
--
2.36.0.464.gb9c8b46e94-goog
\
 
 \ /
  Last update: 2022-05-03 06:22    [W:0.132 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site