aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAsias He <[email protected]>2012-08-02 23:42:04 +0200
committerJens Axboe <[email protected]>2012-08-02 23:42:04 +0200
commit85b9f66a41eb8ee3f1dfc95707412705463cdd97 (patch)
treefab0a84fef56bb7f16d6adfb9d8bbb6cfa5cd75c /tools/perf/util/scripting-engines/trace-event-python.c
parent963ab9e5da95c654bb3ab937cc478de4f7088a96 (diff)
block: Add blk_bio_map_sg() helper
Add a helper to map a bio to a scatterlist, modelled after blk_rq_map_sg. This helper is useful for any driver that wants to create a scatterlist from its ->make_request_fn method. Changes in v2: - Use __blk_segment_map_sg to avoid duplicated code - Add cocbook style function comment Cc: Rusty Russell <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Tejun Heo <[email protected]> Cc: Shaohua Li <[email protected]> Cc: "Michael S. Tsirkin" <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Minchan Kim <[email protected]> Signed-off-by: Asias He <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions