aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/util
AgeCommit message (Expand)AuthorFilesLines
2022-07-14cxl/lib: Maintain decoders in id orderDan Williams1-0/+39
2022-07-14ccan/list: Import latest list helpersDan Williams1-40/+0
2022-06-16util/wrapper.c: Fix gcc warning in xrealloc()Vishal Verma1-9/+9
2022-06-15util: Pretty print terabytesDan Williams1-2/+13
2022-06-15util: Use SZ_ size macros in display sizeDan Williams1-5/+6
2022-06-15build: Move utility helpers to libutil.aDan Williams1-0/+2
2022-04-08ndctl,daxctl,util/build: Reconcile 'iniparser' dependencyVaibhav Jain1-0/+1
2022-03-02util/size.h: Fix build error for GCC < 10Vaibhav Jain1-2/+3
2022-02-24util/size.h: fix build for older compilersVishal Verma1-4/+159
2022-02-22cxl: add memdev partition information to cxl-listAlison Schofield1-0/+1
2022-02-22libcxl: add GET_PARTITION_INFO mailbox command and accessorsAlison Schofield1-0/+1
2022-01-26cxl/list: Add decoder supportDan Williams1-0/+1
2022-01-26util: Implement common bind/unbind helpersDan Williams2-0/+84
2022-01-26util/sysfs: Uplevel modalias lookup helper to util/Dan Williams2-0/+35
2022-01-26util/json: Warn on stderr about empty list resultsDan Williams1-2/+5
2022-01-26json: Add support for json_object_new_uint64()Dan Williams2-2/+13
2022-01-13build: Add meson build infrastructureDan Williams1-0/+16
2022-01-13util: Distribute 'filter' and 'json' helpers to per-tool objectsDan Williams5-2194/+5
2022-01-04Fix iniparser.h includeFelix Yan1-1/+1
2021-12-17util/parse-configs: Fix a resource leak in search_section_kv()Vishal Verma1-1/+1
2021-12-17Merge branch 'for-72/vv/daxctl_config' into pendingVishal Verma2-0/+209
2021-12-17util/parse-configs: add a key/value search helperVishal Verma2-0/+66
2021-12-17ndctl, util: add parse-configs helperQI Fuli2-0/+143
2021-12-09cxl: add health information to cxl-listVishal Verma2-0/+180
2021-12-09libcxl: add GET_HEALTH_INFO mailbox command and accessorsVishal Verma1-0/+85
2021-12-09util: add the struct_size() helper from the kernelVishal Verma2-0/+68
2021-12-09cxl: add a cxl utility and libcxl libraryVishal Verma5-0/+54
2021-03-31daxctl: emit counts of total and online memblocksVishal Verma1-0/+11
2020-12-18Merge branches 'for-71/jm/devdax_subdiv', 'for-71/djbw/reconfig-ns', 'for-71/...Vishal Verma27-632/+137
2020-12-18daxctl: include mappings when listingJoao Martins2-1/+60
2020-12-16Rework license identificationDan Williams27-628/+58
2020-12-16Check whether ndctl_btt_get_namespace returns NULL in callersZhiqiang Liu1-0/+3
2020-12-16util/help: check whether strdup returns NULL in exec_man_konquerorZhiqiang Liu1-1/+7
2020-12-16util/json: Print device alignJoao Martins1-1/+8
2020-12-16daxctl: Cleanup whitespaceDan Williams1-1/+1
2020-08-20ndctl/list: Add firmware activation enumerationDan Williams2-13/+107
2020-08-20ndctl/dimm: Prepare to emit dimm json object after firmware updateDan Williams2-8/+93
2020-07-20Skip region filtering if numa_node attribute is not presentSantosh Sivaraj1-2/+19
2020-03-20ndctl/list: Add option to list configured + disabled namespacesDan Williams2-1/+3
2020-03-20ndctl/util: Return 0 for NULL arguments to parse_size64()Dan Williams1-0/+2
2020-03-20ndctl/namespace: Introduce mode-to-name and name-to-mode helpersDan Williams2-15/+30
2020-03-20ndctl/namespace: Kill off the legacy mode namesDan Williams2-4/+4
2020-03-20ndctl/namespace: Add read-infoblock commandDan Williams2-0/+2
2020-03-20ndctl/util: Up-level is_power_of_2() and introduce IS_ALIGNEDDan Williams1-0/+7
2020-03-20daxctl/list: Avoid memory operations without resource dataDan Williams1-1/+1
2020-03-20ndctl/list: Add 'target_node' to region and namespace verbose listingsDan Williams1-1/+8
2020-02-28daxctl: Change region input type from INTEGER to STRING.redhairer2-0/+18
2019-10-23util/abspath: cleanup prefix_filenameJeff Moyer1-5/+1
2019-10-19daxctl: show a 'movable' attribute in device listingsVishal Verma1-1/+13
2019-08-19ndctl/dimm: Add support for separate security-frozen attributeDan Williams1-0/+6
2019-08-05ndctl/dimm: Add offset and size options to {read, write, zero}-labelsDan Williams1-0/+4
2019-08-05daxctl/list: display the mode for a dax deviceVishal Verma1-0/+14
2019-08-05daxctl/list: add target_node for device listingsVishal Verma1-0/+8
2019-08-02libdaxctl: add an interface to retrieve the device resourceVishal Verma2-0/+49
2019-03-22ndctl/list: Introduce region capability objectsDan Williams2-18/+73
2019-02-01ndctl: add support for displaying the security stateDave Jiang1-0/+17
2019-01-30ndctl: Add supported_alignments to the JSON outputOliver O'Halloran1-1/+47
2019-01-30ndctl/namespace: Make the create-namespace JSON output non-verboseOliver O'Halloran1-1/+1
2019-01-30ndctl: Add alignment to the namespace JSON outputOliver O'Halloran1-0/+10
2019-01-17daxctl: Support the /sys/bus/dax ABIDan Williams1-1/+1
2019-01-02ndctl, daxctl: Add type-safety to command harnessDan Williams2-6/+20
2019-01-02ndctl, daxctl: Split builtin.h per-commandDan Williams2-2/+7
2018-10-03util/json: add a util_namespace_badblocks_to_json() helperVishal Verma1-3/+60
2018-10-03util/json: Add comments around re-checking the UTIL_JSON_MEDIA_ERRORS flagVishal Verma1-0/+2
2018-10-03util/json: fix an error check for region resourceVishal Verma1-1/+1
2018-08-10ndctl: Add 'list' verbose optionsKeith Busch2-12/+21
2018-07-18ndctl, monitor: add a new command - monitorQI Fuli1-0/+9
2018-07-11ndctl list: always output array without --humanRoss Zwisler2-3/+5
2018-07-11ndctl: simplify JSON print flag handlingRoss Zwisler2-2/+3
2018-06-27util/strbuf.h: include sys/types.h for ssize_t definition.Maxwell William1-0/+1
2018-06-12ndctl, util: add OPTION_FILENAME to parse_opt_typeQI Fuli5-13/+86
2018-06-05ndctl, list: display the 'map' location in listingsVishal Verma1-2/+18
2018-05-23ndctl: hide null uuidsDan Williams1-10/+9
2018-05-16ndctl, filter: fix "keyword 'all' is ignored" in util_<obj>_filter()QI Fuli1-4/+16
2018-04-19ndctl, filter: refacor util_<obj>_filter() to support multiple space-seperate...QI Fuli1-49/+92
2018-04-16ndctl, util: add a raw_uuid field to namespace listingsVishal Verma1-0/+22
2018-04-12ndctl, scrub: report the bus scrub state in 'ndctl list'Dan Williams1-0/+10
2018-04-12ndctl: complete move to "fsdax" and "devdax"Ross Zwisler1-8/+2
2018-03-23ndctl: fail NUMA filtering when unsupportedRoss Zwisler1-0/+10
2018-03-20ndctl, sysfs: null terminate buffer on errorDan Williams1-0/+1
2018-03-09ndctl, list: fix sector_size listingDan Williams1-17/+15
2018-03-09ndctl: add filtering based on numa nodeRoss Zwisler2-2/+39
2018-02-23ndctl, list: refactor core topology walking into util_filter_walk()Dan Williams2-0/+160
2018-02-23ndctl, log: add support for LOG_NOTICE messagesQi Fuli2-0/+5
2018-02-20ndctl: add option to list firmware information for a DIMMDave Jiang1-0/+2
2018-01-29ndctl: add sector_size to 'ndctl list' outputRoss Zwisler1-5/+24
2017-11-30ndctl: remove support for compiling against the kernel ndctl.h headerDan Williams2-13/+0
2017-11-29ndctl, create-namespace: introduce "fsdax" and "devdax" modesDan Williams1-2/+8
2017-11-29ndctl: add an inject-error commandVishal Verma4-0/+80
2017-10-02ndctl: fix static analysis report, unchecked sscanfDan Williams1-3/+4
2017-09-28ndctl, list: fix crash when listing idle device-dax instancesDan Williams1-5/+11
2017-09-21ndctl: sort by dimm's number when bad dimms are shown.Yasunori Goto1-0/+17
2017-09-08ndctl: support multiple dimms when translating badblock rangesDan Williams1-26/+58
2017-09-08ndctl: reduce indentation in util_region_badblocks_to_json / dev_badblocks_to...Dan Williams1-51/+57
2017-09-08ndctl: show bad dimm's name by ndctl list command.Yasunori Goto1-0/+37
2017-08-30ndctl: introduce ndctl_dimm_{validate_labels,init_labels}Dan Williams2-36/+18
2017-08-11ndctl, list: add the remaining set of 'filter_by' helpersDan Williams2-0/+100
2017-08-11ndctl, util: cleanup filter-by-dimm helpersDan Williams1-33/+4
2017-08-04ndctl, list: export mapping position dataDan Williams1-0/+9
2017-08-03ndctl, util: in util_namespace_to_json, initialize bb_count to 0Vishal Verma1-1/+1
2017-07-22ndctl, list: always show 'name' if it is availableDan Williams1-12/+9
2017-07-22ndctl: allow bus device names as a filter optionDan Williams1-2/+4
2017-07-19daxctl, list: clarify output when multiple regions share an idDan Williams2-2/+21
2017-07-19ndctl, list: emit device-dax 'chardev' by defaultDan Williams1-2/+12
2017-07-12ndctl, list: show smbios-phys-id and NFIT-handle (_ADR)Yasunori Goto2-2/+20
2017-07-10ndctl, daxctl, list: add --human option for number formattingDan Williams2-11/+104
2017-07-10ndctl, list: convert json control flags to bit-flagsDan Williams2-32/+36
2017-06-28ndctl, list: add 'numa_node' if available to the listingDave Jiang1-0/+8
2017-06-28util: distinguish error codes for sysfs_{read,write}_attr()Dan Williams1-5/+7
2017-06-26ndctl, log: save errno over calls to emit log messagesDan Williams1-0/+3
2017-05-19clarify copyright and license informationDan Williams19-4/+265
2017-05-11ndctl, list: hide badblock_count by defaultDan Williams1-6/+8
2017-05-11ndctl, list: fix span for btt badblocks checkDan Williams1-7/+6
2017-05-11ndctl, list: clarify dev_badblocks_to_json() usage with btt and documentationDan Williams1-30/+27
2017-05-11util: mark badblocks helpers staticDan Williams2-9/+3
2017-05-11ndctl: add list --media-errors supportDave Jiang2-3/+225
2017-04-14ndctl, list: add dimm state flags to '--dimms' outputDan Williams1-0/+42
2017-04-07util: Enable ndctl to compile on non-glibc envsBreno Leitao1-1/+2
2017-04-07ndctl: add a BTT check utilityVishal Verma1-0/+1
2017-04-07util: add util/bitmap in preparation for the BTT checkerVishal Verma3-0/+158
2017-04-07ndctl: move the fletcher64 routine to util/Vishal Verma2-0/+31
2017-04-07libndctl: add a ndctl_namespace_is_active helperVishal Verma2-17/+1
2017-02-04util: add a common ALIGN macroDan Williams1-0/+4
2017-01-23ndctl, create-namespace: enforce --size must be even multiple of interleave-w...Dan Williams2-2/+2
2017-01-23ndctl: return unit size from parse_size64()Dan Williams1-1/+17
2017-01-23ndctl, create-namespace: add an 'align' optionDan Williams1-0/+1
2016-12-17daxctl: add list commandDan Williams4-24/+124
2016-12-17ndctl, list: add '--device-dax' optionDan Williams2-6/+8
2016-12-17ndctl, daxctl: move json helpers to be available across both utilitiesDan Williams2-0/+331
2016-12-17ndctl, daxctl: refactor main boilerplate for a new 'daxctl' utilityDan Williams3-0/+272
2016-12-09util, sysfs: convert add_dev_fn to return the deviceDan Williams2-9/+8
2016-10-10test, multi-pmem: validate the creation and detection of multi-pmem configura...Dan Williams1-0/+2
2016-09-09test, device-dax: address translationDan Williams1-0/+1
2016-06-23ndctl, list: allow limiting namespace listingDan Williams2-0/+23
2016-05-23daxctl: enumeration api and unit test for "Device DAX"Dan Williams1-0/+1
2016-05-23util: centralize sysfs helpersDan Williams2-0/+167
2016-05-23util: centralize loggingDan Williams2-0/+134
2016-05-23ndctl: reorganize file structure, use per sub-directory makefilesDan Williams3-440/+0
2016-05-23ndctl: fix a segfault in parse-options.cVishal Verma1-2/+3
2016-05-02ndctl: utility support for dax devicesDan Williams1-1/+16
2016-04-26ndctl, list: add 'id' to the dimm listingDan Williams1-0/+8
2016-04-09ndctl: new 'read-labels' utilityDan Williams2-0/+18
2016-04-09ndctl, list: add 'filter by dimm' capabilityDan Williams2-0/+88
2016-04-09ndctl, list: add a '--health' optionDan Williams2-0/+170
2016-03-08ndctl: use the pfn trimmed size for memory mode namespacesDan Williams1-7/+17
2016-01-28ndctl: 'list' commandDan Williams2-0/+219
2016-01-28ndctl: refactor bus and region filtering to utility routinesDan Williams2-0/+62
2016-01-28ndctl: create namespaceDan Williams2-0/+54
2016-01-28ndctl: remove unused "run-command" infrastructureDan Williams2-272/+0
2014-09-25ndctl: import cli infrastructure from perfDan Williams10-0/+1915