diff options
| author | Mike Snitzer <[email protected]> | 2018-12-06 11:41:18 -0500 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-12-10 08:30:37 -0700 |
| commit | 112f158f66cbe25fd561a5dfe9c3826e06abf757 (patch) | |
| tree | 192a838ddd4e61581e6be953dc843d84730de6e8 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | dbd3bbd291a03f1383de6242e7999e8487cb869b (diff) | |
block: stop passing 'cpu' to all percpu stats methods
All of part_stat_* and related methods are used with preempt disabled,
so there is no need to pass cpu around to allow of them. Just call
smp_processor_id() as needed.
Suggested-by: Jens Axboe <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions