__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0+
#
# Run bpftrace to obtain a histogram of the types of primitives used to
# initiate RCU grace periods.  The count associated with rcu_gp_init()
# is the number of normal (non-expedited) grace periods.
#
# Usage: rcu-updaters.sh [ duration-in-seconds ]
#
# Note that not all kernel builds have all of these functions.  In those
# that do not, this script will issue a diagnostic for each that is not
# found, but continue normally for the rest of the functions.

duration=${1}
if test -n "${duration}"
then
	exitclause='interval:s:'"${duration}"' { exit(); }'
else
	echo 'Hit control-C to end sample and print results.'
fi
bpftrace -e 'kprobe:kvfree_call_rcu,
	     kprobe:call_rcu,
	     kprobe:call_rcu_tasks,
	     kprobe:call_rcu_tasks_trace,
	     kprobe:call_srcu,
	     kprobe:rcu_barrier,
	     kprobe:rcu_barrier_tasks,
	     kprobe:rcu_barrier_tasks_trace,
	     kprobe:srcu_barrier,
	     kprobe:synchronize_rcu,
	     kprobe:synchronize_rcu_expedited,
	     kprobe:synchronize_rcu_tasks,
	     kprobe:synchronize_rcu_tasks_rude,
	     kprobe:synchronize_rcu_tasks_trace,
	     kprobe:synchronize_srcu,
	     kprobe:synchronize_srcu_expedited,
	     kprobe:get_state_synchronize_rcu,
	     kprobe:get_state_synchronize_rcu_full,
	     kprobe:start_poll_synchronize_rcu,
	     kprobe:start_poll_synchronize_rcu_expedited,
	     kprobe:start_poll_synchronize_rcu_full,
	     kprobe:start_poll_synchronize_rcu_expedited_full,
	     kprobe:poll_state_synchronize_rcu,
	     kprobe:poll_state_synchronize_rcu_full,
	     kprobe:cond_synchronize_rcu,
	     kprobe:cond_synchronize_rcu_full,
	     kprobe:start_poll_synchronize_srcu,
	     kprobe:poll_state_synchronize_srcu,
	     kprobe:rcu_gp_init
	     	{ @counts[func] = count(); } '"${exitclause}"

Filemanager

Name Type Size Permission Actions
extract-stall.sh File 1.01 KB 0755
rcu-updaters.sh File 1.76 KB 0755
Filemanager