summaryrefslogtreecommitdiff
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2019-08-06 16:19:52 +0300
committerDavid S. Miller <davem@davemloft.net>2019-08-06 12:37:56 -0700
commitdbf896b70d4a4bdbd10aec060af42d7c70e6a88d (patch)
treeb28f66c37244f9557c70da8dff351c94f6b75512 /tools/perf/builtin-script.c
parent2230a7ef5198632bdbf844fcf0abdd7958a6ac7d (diff)
drop_monitor: Rename and document scope of mutex
The 'trace_state_mutex' does not only protect the global 'trace_state' variable, but also the global 'hw_stats_list'. Subsequent patches are going add more operations from user space to drop_monitor and these all need to be mutually exclusive. Rename 'trace_state_mutex' to the more fitting 'net_dm_mutex' name and document its scope. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions