trace_osnoise.c (2a81afa326fd23add336cfd7e35e1d699d11d9c4) | trace_osnoise.c (498627b4ac85780b9962ed9b5c5abbefd884ef8e) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * OS Noise Tracer: computes the OS Noise suffered by a running thread. 4 * Timerlat Tracer: measures the wakeup latency of a timer triggered IRQ and thread. 5 * 6 * Based on "hwlat_detector" tracer by: 7 * Copyright (C) 2008-2009 Jon Masters, Red Hat, Inc. <jcm@redhat.com> 8 * Copyright (C) 2013-2016 Steven Rostedt, Red Hat, Inc. <srostedt@redhat.com> --- 1572 unchanged lines hidden (view full) --- 1581 if (ret < 0) 1582 pr_warn(BANNER "Error to init cpu hotplug support\n"); 1583 1584 return; 1585} 1586#else /* CONFIG_HOTPLUG_CPU */ 1587static void osnoise_init_hotplug_support(void) 1588{ | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * OS Noise Tracer: computes the OS Noise suffered by a running thread. 4 * Timerlat Tracer: measures the wakeup latency of a timer triggered IRQ and thread. 5 * 6 * Based on "hwlat_detector" tracer by: 7 * Copyright (C) 2008-2009 Jon Masters, Red Hat, Inc. <jcm@redhat.com> 8 * Copyright (C) 2013-2016 Steven Rostedt, Red Hat, Inc. <srostedt@redhat.com> --- 1572 unchanged lines hidden (view full) --- 1581 if (ret < 0) 1582 pr_warn(BANNER "Error to init cpu hotplug support\n"); 1583 1584 return; 1585} 1586#else /* CONFIG_HOTPLUG_CPU */ 1587static void osnoise_init_hotplug_support(void) 1588{ |
1589 return 0; | 1589 return; |
1590} 1591#endif /* CONFIG_HOTPLUG_CPU */ 1592 1593/* 1594 * osnoise_cpus_read - Read function for reading the "cpus" file 1595 * @filp: The active open file structure 1596 * @ubuf: The userspace provided buffer to read value into 1597 * @cnt: The maximum number of bytes to read --- 461 unchanged lines hidden --- | 1590} 1591#endif /* CONFIG_HOTPLUG_CPU */ 1592 1593/* 1594 * osnoise_cpus_read - Read function for reading the "cpus" file 1595 * @filp: The active open file structure 1596 * @ubuf: The userspace provided buffer to read value into 1597 * @cnt: The maximum number of bytes to read --- 461 unchanged lines hidden --- |