Add tool to dump out all targets and attributes

Prints out every target along with its attributes for debug.

Looks like:

--------------------------------------------------------------
Target /sys-0/node-0/motherboard-0/proc_socket-0/module-0/p9_proc_m/eq2/core9
	MRW_TYPE:  NA
	CHIPLET_ID:  0x29
	CDM_DOMAIN:  CPU
	PRIMARY_CAPABILITIES:
		reserved:  0
		supportsFsiScom:  1
		supportsInbandScom:  0
		supportsXscom:  1
	MODEL:
	HWAS_STATE_CHANGED_FLAG:  0x0
	CLASS:  UNIT
	HWAS_STATE_CHANGED_SUBSCRIPTION_MASK:  0x00000001
	PHYS_PATH:
	FRU_NAME:  CORE9
	BUS_TYPE:  NA
	FRU_ID:  1
	TYPE:  CORE
	RESOURCE_IS_CRITICAL:  0
	DUMMY_RW:  5
	CHIP_UNIT:  9
	INSTANCE_PATH:  instance:sys-0/node-0/motherboard-0/proc_socket-0/core
	DECONFIG_GARDABLE:  1
	IPMI_INSTANCE:  9
	IPMI_SENSORS:

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I65f79ca0e85adfe93f6ff5d9dc5da6948757e1e0
1 file changed