| 2788 | } |
| 2789 | |
| 2790 | static int |
| 2791 | prof_log_stop_ctl(tsd_t *tsd, const size_t *mib, size_t miblen, void *oldp, |
| 2792 | size_t *oldlenp, void *newp, size_t newlen) { |
| 2793 | if (!config_prof) { |
| 2794 | return ENOENT; |
| 2795 | } |
| 2796 | |
| 2797 | if (prof_log_stop(tsd_tsdn(tsd))) { |
| 2798 | return EFAULT; |
| 2799 | } |
| 2800 | |
| 2801 | return 0; |
| 2802 | } |
| 2803 | |
| 2804 | /******************************************************************************/ |
| 2805 |
nothing calls this directly
no test coverage detected