Re: [PATCH v3 1/2] perf tools: add 'perf irq' to measure the hardware interrupts

2021-02-18 Thread Bixuan Cui
On 2021/1/29 21:57, Hagen Paul Pfeifer wrote: > Idea: why now pre-calc the max IRQ name length and adjust the columns > dynamically? Time consume us, entry time and exit time can be threatet static > in (max) length lenght. This overlong, static ASCII lines are no pleasure! ;-) > >

Re: [PATCH v3 1/2] perf tools: add 'perf irq' to measure the hardware interrupts

2021-01-27 Thread Bixuan Cui
On 2021/1/27 15:37, Namhyung Kim wrote: > Note that strncpy doesn't guarantee the NUL-termination. > You'd better do it by yourself just in case. Thanks, I'll fix these bugs. > > Thanks, > Namhyung

Re: [PATCH v3 1/2] perf tools: add 'perf irq' to measure the hardware interrupts

2021-01-26 Thread Namhyung Kim
Hello, On Sat, Jan 16, 2021 at 10:20 AM Bixuan Cui wrote: > > Add 'perf irq' to trace/measure the hardware interrupts. > > Now three functions are provided: > 1. 'perf irq record ' to record the irq handler events. > 2. 'perf irq script' to see a detailed trace of the workload that >was

[PATCH v3 1/2] perf tools: add 'perf irq' to measure the hardware interrupts

2021-01-15 Thread Bixuan Cui
Add 'perf irq' to trace/measure the hardware interrupts. Now three functions are provided: 1. 'perf irq record ' to record the irq handler events. 2. 'perf irq script' to see a detailed trace of the workload that was recorded. 3. 'perf irq report' to calculate the time consumed by each