mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
Merge "coresight: tmc: migrate byte counter to new tmc framework"
This commit is contained in:
commit
1693a05458
2 changed files with 3 additions and 2 deletions
|
|
@ -890,7 +890,7 @@ static void tmc_free_etr_buf(struct etr_buf *etr_buf)
|
|||
* Returns: The size of the linear data available @pos, with *bufpp
|
||||
* updated to point to the buffer.
|
||||
*/
|
||||
static ssize_t tmc_etr_buf_get_data(struct etr_buf *etr_buf,
|
||||
ssize_t tmc_etr_buf_get_data(struct etr_buf *etr_buf,
|
||||
u64 offset, size_t len, char **bufpp)
|
||||
{
|
||||
/* Adjust the length to limit this transaction to end of buffer */
|
||||
|
|
|
|||
|
|
@ -274,7 +274,8 @@ int tmc_read_unprepare_etr(struct tmc_drvdata *drvdata);
|
|||
extern const struct coresight_ops tmc_etr_cs_ops;
|
||||
ssize_t tmc_etr_get_sysfs_trace(struct tmc_drvdata *drvdata,
|
||||
loff_t pos, size_t len, char **bufpp);
|
||||
|
||||
ssize_t tmc_etr_buf_get_data(struct etr_buf *etr_buf,
|
||||
u64 offset, size_t len, char **bufpp);
|
||||
|
||||
#define TMC_REG_PAIR(name, lo_off, hi_off) \
|
||||
static inline u64 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue