diff options
| author | Namhyung Kim <[email protected]> | 2021-01-15 07:11:38 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-01-15 20:28:27 +0000 |
| commit | 3ff1e7180abc7f6db413933c110df69157216715 (patch) | |
| tree | 84c2fe57303eb65a35f292efc4dde61f548d86ed /net/unix/af_unix.c | |
| parent | libperf tests: Fail when failing to get a tracepoint id (diff) | |
| download | kernel-3ff1e7180abc7f6db413933c110df69157216715.tar.gz kernel-3ff1e7180abc7f6db413933c110df69157216715.zip | |
perf stat: Introduce struct runtime_stat_data
To pass more info to the saved_value in the runtime_stat, add a new
struct runtime_stat_data. Currently it only has 'ctx' field but later
patch will add more.
Note that we intentionally pass 0 as ctx to clock-related events for
compatibility. It was already there in a few places. So move the code
into the saved_value_lookup() explicitly and add a comment.
Suggested-by: Andi Kleen <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jin Yao <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
