summaryrefslogtreecommitdiffstats
path: root/drivers/nvme
diff options
context:
space:
mode:
authorMathieu Poirier <mathieu.poirier@linaro.org>2016-05-03 11:33:52 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-05-03 14:59:30 -0700
commitde5461970b3e9e19470b821f5feaa3235ceb35f5 (patch)
tree903b380554676dd128decdf1456cf40aeb4a3a82 /drivers/nvme
parent4525412a5046692abb7a0588589d8ed2c20585e0 (diff)
downloadop-kernel-dev-de5461970b3e9e19470b821f5feaa3235ceb35f5.zip
op-kernel-dev-de5461970b3e9e19470b821f5feaa3235ceb35f5.tar.gz
coresight: tmc: allocating memory when needed
In it's current form the TMC probe() function allocates trace buffer memory at boot time, event if coresight isn't used. This is highly inefficient since trace buffers can occupy a lot of memory that could be used otherwised. This patch allocates trace buffers on the fly, when the coresight subsystem is solicited. Allocated buffers are released when traces are read using the device descriptors under /dev. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud