aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorSantosh Pradhan <[email protected]>2022-08-18 12:55:51 +0200
committerJens Axboe <[email protected]>2022-08-22 07:52:51 -0600
commit74e237b6e7421157cc378eee6641b818cea8129d (patch)
treebb2478d874a936900617e992f0ca3bebabcfd707 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentc6ea70604249bc357ce09e9f8e16c29df0fb2fa2 (diff)
block/rnbd-srv: Add event tracing support
Add event tracing mechanism for following routines: - create_sess() - destroy_sess() - process_rdma() - process_msg_sess_info() - process_msg_open() - process_msg_close() How to use: 1. Load the rnbd_server module 2. cd /sys/kernel/debug/tracing 3. If all the events need to be enabled: echo 1 > events/rnbd_srv/enable 4. OR only speific routine/event needs to be enabled e.g. echo 1 > events/rnbd_srv/create_sess/enable 5. cat trace 5. Run some workload which can trigger create_sess() routine/event Signed-off-by: Santosh Pradhan <[email protected]> Signed-off-by: Jack Wang <[email protected]> Signed-off-by: Md Haris Iqbal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions