diff options
| author | KOSAKI Motohiro <[email protected]> | 2009-03-10 10:49:53 +0900 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2009-03-10 10:20:30 +0100 |
| commit | bbcd3063597a3824357cd83c501c2a2aa21ef37b (patch) | |
| tree | 4da63cbe8e3740fd9645fbbf6aeeed5d21ac6437 /tools/perf/scripts/python | |
| parent | 8293dd6f86e759068ce918aa10ca9c5d6d711cd0 (diff) | |
tracing: Don't assume possible cpu list have continuous numbers
"for (++cpu ; cpu < num_possible_cpus(); cpu++)" statement assumes
possible cpus have continuous number - but that's a wrong assumption.
Insted, cpumask_next() should be used.
Signed-off-by: KOSAKI Motohiro <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions