| .. | .. |
|---|
| 47 | 47 | TP_ARGS(tracer, trace_timestamp, lost, event_id, msg), |
|---|
| 48 | 48 | |
|---|
| 49 | 49 | TP_STRUCT__entry( |
|---|
| 50 | | - __string(dev_name, dev_name(&tracer->dev->pdev->dev)) |
|---|
| 50 | + __string(dev_name, dev_name(tracer->dev->device)) |
|---|
| 51 | 51 | __field(u64, trace_timestamp) |
|---|
| 52 | 52 | __field(bool, lost) |
|---|
| 53 | 53 | __field(u8, event_id) |
|---|
| .. | .. |
|---|
| 55 | 55 | ), |
|---|
| 56 | 56 | |
|---|
| 57 | 57 | TP_fast_assign( |
|---|
| 58 | | - __assign_str(dev_name, dev_name(&tracer->dev->pdev->dev)); |
|---|
| 58 | + __assign_str(dev_name, |
|---|
| 59 | + dev_name(tracer->dev->device)); |
|---|
| 59 | 60 | __entry->trace_timestamp = trace_timestamp; |
|---|
| 60 | 61 | __entry->lost = lost; |
|---|
| 61 | 62 | __entry->event_id = event_id; |
|---|