Commit Graph

3 Commits

Author SHA1 Message Date
Sergey Samoylenko
7c7a4eddb4 Fix memory leak in __sbitmap_for_each_set function
Signed-off-by: Sergey Samoylenko <s.samoylenko@yadro.com>
2022-03-12 14:02:58 +08:00
Sergey Samoylenko
fb64fdd11d sbitmapq: add '-p' option
The -p option says, an associated with sbitmap_queue array contains
the pointers on a structure. This allows the sbitmapq command works
correctly with the array of pointers attached to the sbitmap_queue.

Signed-off-by: Sergey Samoylenko <s.samoylenko@yadro.com>
2022-02-22 09:53:30 +08:00
Sergey Samoylenko
ac86cc3558 Introduce sbitmapq command
Patch adds new 'sbitmapq' command. This command dumps
the contents of the sbitmap_queue structure and the used
bits in the bitmap. Also, it shows the dump of a structure
array associated with the sbitmap_queue.

Signed-off-by: Sergey Samoylenko <s.samoylenko@yadro.com>
2022-02-22 09:53:27 +08:00