stmf.c (9176:9e5c84e95335) | stmf.c (10524:80ac731fde86) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 1369 unchanged lines hidden (view full) --- 1378 /* pretty print */ 1379 if (DCMD_HDRSPEC(flags)) { 1380 mdb_printf("%<u>%-19s %-10s %-10s %-10s%</u>\n", 1381 "stmf_worker_t", "State", "Ref_Count", "Tasks"); 1382 } 1383 1384 mdb_printf("%-19p %-10s %-10d %-5d%\n", addr, 1385 (worker.worker_flags == STMF_WORKER_STARTED) ? "STARTED" : | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 1369 unchanged lines hidden (view full) --- 1378 /* pretty print */ 1379 if (DCMD_HDRSPEC(flags)) { 1380 mdb_printf("%<u>%-19s %-10s %-10s %-10s%</u>\n", 1381 "stmf_worker_t", "State", "Ref_Count", "Tasks"); 1382 } 1383 1384 mdb_printf("%-19p %-10s %-10d %-5d%\n", addr, 1385 (worker.worker_flags == STMF_WORKER_STARTED) ? "STARTED" : |
1386 (worker.worker_flags == STMF_WORKER_ACTIVE) ? | 1386 (worker.worker_flags & STMF_WORKER_ACTIVE) ? |
1387 "ACTIVE" : "TERMINATED", 1388 worker.worker_ref_count, 1389 worker.worker_queue_depth); 1390 } 1391 1392 return (DCMD_OK); 1393} 1394 --- 224 unchanged lines hidden --- | 1387 "ACTIVE" : "TERMINATED", 1388 worker.worker_ref_count, 1389 worker.worker_queue_depth); 1390 } 1391 1392 return (DCMD_OK); 1393} 1394 --- 224 unchanged lines hidden --- |