/* ARGSUSED */ static int op_sort(cmd_t *cmd, boolean_t smpl) { page_t *cur; int cmd_id; if ((cur = page_current_get()) != NULL) { cmd_id = CMD_ID(cmd); sortkey_set(cmd_id, cur); (void) op_refresh(cmd, B_FALSE); } return (0); }
int os_op_callchain_count(cmd_t *cmd, boolean_t smpl) { page_t *cur; count_id_t countid; int cmd_id; if ((cur = page_current_get()) != NULL) { cmd_id = CMD_ID(cmd); if ((countid = callchain_countid_set(cmd_id, cur)) == COUNT_INVALID) { return (0); } perf_profiling_partpause(countid); op_refresh(cmd, smpl); } return (0); }