diff options
Diffstat (limited to 'kernel/trace/trace_events_hist.c')
| -rw-r--r-- | kernel/trace/trace_events_hist.c | 13 | 
1 files changed, 2 insertions, 11 deletions
diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_hist.c index aae18af94c94..85f6b01431c7 100644 --- a/kernel/trace/trace_events_hist.c +++ b/kernel/trace/trace_events_hist.c @@ -1,16 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0  /*   * trace_events_hist - trace event hist triggers   * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the - * GNU General Public License for more details. - *   * Copyright (C) 2015 Tom Zanussi <[email protected]>   */ @@ -5141,7 +5132,7 @@ static void hist_clear(struct event_trigger_data *data)  	if (data->name)  		pause_named_trigger(data); -	synchronize_sched(); +	tracepoint_synchronize_unregister();  	tracing_map_clear(hist_data->map);  |